Casual Basi Music Playing bot.
There are many discord bot, this, is no special. I am trying to develop a bot for my friends and in my own discord server, hosting it myself.
- Customise Message
- Customise command name
- Music Bot (Play, pause, stop, queue, lyrics etc)
- Reminder (Direct Message you or targetted role)
- Todo list
- Covid Cases and news for Victoira, Ausralia.
- Poll
- Search image from Unsplash (partly complete, no credits to creaters and link yet)
- Part 1 - Get discord bot from discord developer portal
- Part 2 - Set up the bot from this repo
- Head to https://discord.com/developers/ and sart a new application.
- On the left sidebar, select "Bot", then "Add a bot"
- Make note on the Token on Bot page, you will need that later.
- Inviting you bot to your server. The url to invite the bot to your server is something like this, but the client id will be your own. https://discord.com/oauth2/authorize?client_id=1111111&scope=bot. Client Id can be found on Discord Developers - General Information page.
- Install all packages
npm i
On Debian / Ubuntu:
sudo apt-get install ffmpeg
On Windows:
npm install ffmpeg-static --save
- Create
config.json
with like the following, you can customise your prefix here.
{
"TOKEN":"xxxxx",
"GENIUSAPIKEY":"xxxxx",
"PREFIX": "!",
"AUDIO_QUALITY":"lowest",
"OWNERID":"xxx",
"UNSLASH_ACCESS_KEY":"xxx"
}
- Getting Genius api key from https://docs.genius.com/