Skip to content

MVP

Compare
Choose a tag to compare
@sntran sntran released this 29 May 17:10
· 18 commits to main since this release
2c30431

Added

  • Initializes a Discord bot
  • Uses token from --token flag or DISCORD_TOKEN environment variable
  • Takes pairs of /slash_command_name 'shell_command' and converts to Discord's slash commands.
  • Registers commands globally or in a specific GUILD through --guild flag or DISCORD_GUILD environment variable.
  • Commands are removed from Discord when program exists.
  • In shell command, use ${variable_name} to specify slash command's parameters.
  • Only distinct variables are used, by the order they are defined in shell command.
  • Restrict bot access by channels through --channels flag or DISCORD_CHANNELS environment variable.