- Git
- A text editor
- Node.js
- Knowledge of JavaScript and Discord.js
Git is a source code management program to keep track of the different changes in the project. It's the tool we use to work together!
If you don't have a text editor we recommed installing Visual Studio Code
MongoDB Atlas
MongoDB Community Server
- Create you own copy of the project
- Create your own Discord server where you have admin access.
- Create a new Discord app in the Discord Developer Portal. On the top right, click
New Application
and give it a name. - On the left side of the page, select
Bot
in the navigation bar and clickAdd Bot
to create a new bot. Confirm. - In your forked repository, create a copy of the
.env-sample
file and rename the copy to.env
.- Back in the
Bot
settings on the Discord Developer Portal website, copy your bot'sToken
and paste it afterACCESS_TOKEN=
in your.env
file. - Replace
CLIENT_ID
with theClient ID
from your app found in theGeneral Information
settings. - Replace
MOD_CHANNEL
,CHAT_CHANNEL
,LINKS_CHANNEL
,KOREAN_CHANNEL
,EXERCISES_CHANNEL
with the ID of text channels in your new Discord server. To get them, right click on the text channel and clickCopy ID
- Replace
SERVER_ID
with yourSERVER ID
. To find it, right click on the server then go toServer Settings -> Widget
and copy theSERVER ID
- (If applicable) Replace
Moderator
with your server's moderator role. To find it, right click on the server then go toServer Settings -> Roles
. Hover over the corresponding role and click the three dots that appear. Then clickCopy ID
. - (If applicable) Replace
ACTIVE_ROLE
with your server's active-members role. To find it, right click on the server then go toServer Settings -> Roles
. Hover over the corresponding role and click the three dots that appear. ThenCopy ID
. - (If applicable) Replace
DATABASE_URI
with the URI of your MongoDB database.
- Back in the
From the project folder run this command in your terminal:
npm start
- Create a branch
- Write your changes
- Commit
- Push
- Create a Pull Request (PR)/Merge Request (MR) from your forked project into the
development
branch. https://github.com/crobin93/korean-discord-app/tree/development