The bot uses Java 17
Make sure you have a good knowledge of java and know how JDA works.
Also read the Code of conduct.
And finally do not forget to have a look at the Example Command to get an idea of how your command should be structured.
To get started, you'll need to create a Discord bot account and get a token.
- Go to https://discord.com/developers/applications
- Click on the New Application button
- Create a name
- Click on the Bot tab
- Give the bot a name
- After that go to OAuth2 tab
- click URL Generator
- Select bot and applications.commands
- Select the needed permissions
- Copy the url and add the bot to your server
- For the token go back to the bot tab and copy the Token.
- See part 2
Once you have added the bot to your server, you will need to create a .env file as seen here.
Where it says 11111111111 replace it with a long value
{
"TOKEN": "YOUR_TOKEN_HERE",
"GUILD_ID": 11111111111,
"OWNER_ID": 11111111111,
"AUDIT_LOG_CHANNEL_ID": 11111111111,
"CORE_POOL_SIZE": 1,
"DATABASE_NAME": "YOUR_DATABASE_NAME_HERE",
"DB_USER": "YOUR_DB_USER_HERE",
"DB_PASSWORD": "YOUR_DB_PASSWORD_HERE",
"DB_URL": "YOUR_DB_URL_HERE",
"PORT_NUMBER": 8080,
"SERVER_NAME": "YOUR_SERVER_NAME_HERE",
"HELP_CHANNEL_ID": 11111111111,
"ACTIVE_QUESTION_CHANNEL_ID": 11111111111,
"ASK_LIMIT": 3,
"USER_AMOUNT_CHANNEL_ID": 11111111111
}
To get started with postgres you will need to install it using homebrew or any other package manager.
To install it with homebrew run the following command:
brew install postgresql
For linux see the postgresql download
To start the server run the following command:
brew servers start postgresql
In order to make a command for the bot, you will need to create an issue and wait to see if the command is needed.
If it is then you will be assigned to the issue, and you can begin making the command.
Once you have made a command, you will need to create a pr on which you will be assigned and the team will review the code and see if it meets the standards.
If it does it will be merged immediately, if not you will be told what to change.
Copyright (C) 2022 - present, Programming Org
Thanks goes to these wonderful people (emoji key):
Yusuf Arfan Ismail 🚇 |
Haleloch 💻 👀 |
This project follows the all-contributors specification. Contributions of any kind welcome!