Skip to content
This repository has been archived by the owner on Aug 9, 2022. It is now read-only.

bulaxy/discord-bot

Repository files navigation

Discord-bot

Casual Basi Music Playing bot.

Bot Info

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.

Function

  • 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)

Set-UP

  • Part 1 - Get discord bot from discord developer portal
  • Part 2 - Set up the bot from this repo

Part 1 - Get discord bot from discord developer portal

  1. Head to https://discord.com/developers/ and sart a new application.
  2. On the left sidebar, select "Bot", then "Add a bot"
  3. Make note on the Token on Bot page, you will need that later.
  4. 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.

Part 2 - Set up the bot from this repo

  1. Install all packages

npm i

On Debian / Ubuntu:

sudo apt-get install ffmpeg

On Windows:

npm install ffmpeg-static --save

  1. 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"
}
  1. Getting Genius api key from https://docs.genius.com/

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published