edisch

Crates.ioedisch
lib.rsedisch
version0.2.0
sourcesrc
created_at2024-07-05 12:37:02.679311
updated_at2024-07-12 17:38:31.919572
descriptionTool to change Discord channel names in bulk with your $EDITOR
homepage
repositoryhttps://github.com/gw31415/edisch
max_upload_size
id1292706
size98,075
Ama / Yuki Okugawa (gw31415)

documentation

README

Edisch - Edit Discord Channels

Crates.io Crates.io License

edisch /ˈɛdɪʃ/ is a tool to change Discord channel names in bulk with your $EDITOR

https://github.com/gw31415/edisch/assets/24710985/3c44ab26-0911-4c14-91fe-ed1fcab008dc

Installation

Cargo

cargo install edisch

Usage

Tool to change Discord channel names in bulk with your $EDITOR

Usage: edisch [OPTIONS]
       edisch <COMMAND>

Commands:
  completion  Generate shell completion
  export      Export all channel names to a file or stdout
  apply       Apply all channel names from a file or stdin
  help        Print this message or the help of the given subcommand(s)

Options:
  -t, --token <TOKEN>        Bot token. If not provided, it will be read from the $DISCORD_TOKEN environment variable
  -g, --guild-id <GUILD_ID>  Guild ID. If not provided, it will be read from the $GUILD_ID environment variable
      --text                 Edit Text Channels
      --voice                Edit Voice Channels
      --forum                Edit Forum Channels
      --stage                Edit Stage Channels
      --news                 Edit News Channels
      --category             Edit Category Channels
      --all                  Edit All Channels
  -y, --yes                  Automatically confirm all changes
  -h, --help                 Print help
  -V, --version              Print version

Examples

# Edit all text channels in the guild
edisch --text

# Batch edit all channels in the guild
edisch export | sed 's/old/new/g' | edisch apply -y
Commit count: 53

cargo fmt