Skip to content

m19e/kaboom

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

!kaboom

kaboom-readme-demo

Note You must have ffmpeg in your path and Opus libs already installed.

Features

  • 💣 Kick all users from voice channel
  • 🎶 Playback sound (triggered custom emoji)

Commands

  • !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.m4a on voice channel)

Development

  1. Copy .env.sample
> cp .env.sample .env.local
  1. 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
  1. 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

Reference

  • DiscordGo - Go bindings for Discord
  • dgVoice - Voice implementation for Discordgo

License

MIT

About

Discord bot💣Kick all users from voice channel💥

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages