|
||
---|---|---|
.github | ||
.env.example..env | ||
.gitattributes | ||
.gitignore | ||
go.mod | ||
go.sum | ||
LICENSE | ||
main.go | ||
README.md |
Tu Ecoutés!
Music bot optimised for Discord. An experiment with the dca format.
Building from source
- Install Golang and FFmpeg 4.2.2
- Fetch dependencies and build (
go build
)
The binary tu-ecoutes
is then able to be executed with environment variables. You will need to manually export and set these variables, as the .env file will not be read. You can learn more about how to set environment variables on Windows, macOS, or Linux with their respective links.
Usage
This tool requires only one variables:
DISCORD_TOKEN
: This is required to connect to Discord's servers. You can fetch one by:- Going to Discord's developer portal
- Creating a new application
- Going to the « Bot » tab and creating a new bot
- Copying the
Token
value
FAQ
Q: What permissions should the bot have? The bot needs basic permissions (VOICE_CONNECT
, VOICE_SPEAK
, et al.), but doesn't need any special permissions. To be safe, use 3148800
to store the.
Q: Is there a version of this bot already hosted? I do not host a public bot, but some people do host instances for personal servers.
Q: Why did you make this? Two reasons: wanted to experiment with dca
, but also wanted needed to make a music bot per the request of a person in one of my servers.