Releases: sntran/shell2discord
Releases · sntran/shell2discord
v0.3.0
v0.2.0
MVP
Added
- Initializes a Discord bot
- Uses token from
--token
flag orDISCORD_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 orDISCORD_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 orDISCORD_CHANNELS
environment variable.