Note You must have
ffmpegin your path and Opus libs already installed.
- 💣 Kick all users from voice channel
- 🎶 Playback sound (triggered custom emoji)
!join/!leave- Connect / Disconnect voice channel.!kaboom- Move all users to new channel and blast it.<custom emoji>- Playback audio with the same name as custom emoji.- eg: Get
:kaboom:emoji, playback$FOLDER/kaboom.m4aon voice channel)
- eg: Get
- Copy
.env.sample
> cp .env.sample .env.local- Edit
.env.local
TOKEN= # Bot token
GUILD_ID= # Server ID
TEXT_CHANNEL_ID= # Text channel ID for sending message
VOICE_CHANNEL_ID= # Voice channel ID for playing sounds
FOLDER=sounds # Directory path contains sound files- Run
# start bot with loading .env.local (default)
> go run main.go
# specified .env.* file (eg .env.production)
> GO_ENV=production go run main.go