This bot is created for the Discord server of DSC KIIT . It is a general purpose discord bot having an additional Ticketing feature . Over the period of time I am planning to include more basic facilities.
On Discord developer Portal
- Create an application.
- Create a bot account.
- Obtain OAuth Token
Other Steps
-
Get the code from the repo .
-
in an env file set the values for
BOT_TOKEN
&PREFIX
. -
in data.json replace the following values as mentioned
{ "guildid": "id of the guild in which bot would be there, "questionChannelId": id of the channel where the askQuestion command should ask question }
-
run
npm i
-
run npm start
-
run
ticketsetup
command and then add the values ofticketCategoryId
,logChannelId
andticketMessageId
that you get from the reply to data.json
Note : Setting up Ticketing system is currently kind of non-user friendly , Integrating a database for making it user friendly is on the list.
Code Structure:
- 📂 dsckiitbot
- 📄 LICENSE
- 📄 Procfile
- 📄 README.md
- 📂 data
- 📄 data.json
- 📄 dscdata.json
- 📄 dsdata.json
- 📄 package-lock.json
- 📄 package.json
- 📂 src
Every contibution , even small are welcome :
- If you find any bug , please feel free to create an issue.
- Pull Requests should be properly documented.
- Give me 24-48 hrs to respond.