OpenSource discord bot for FindMentor Network discord server for moderating server, welcoming new users, giving role to users, making announcements and logging system.
- Go to discord developer portal
- Click "New Application" button at top right
- Enter your bot name, it is up to you
- After that, you will see "Bot" section at sidebar
- Click "Add Bot" then click "Yes, do it!" to confirmation message
- Go to discord developer portal
- Open you application
- Click "OAuth2" section at sidebar
- Scroll down and in scopes section click "bot" (2nd colmn, 2nd place)
- Then click "Administrator" in "BOT PERMISSIONS" section
- Copy the OAuth2 url, below in scopes section, and paste it into your browser.
- Select your server and click add! Bum!
For runing the bot you need a .env
file which includes 9
sections
BOT_PREFIX={Up To You}
BOT_OWNER= {Your User ID}
BOT_CLIENTSECRET= {Your Client ID}
BOT_TOKEN={Your Test Bot Token}
New Env Values
GUILD_ID={YourGuildID}
GUILD_CAT={YourGuildCatID}
SHEETS_ID={spreadsheetId}
SHEETS_API={spreadsheetApiKey}
LOOP_TIME={LoopTımeForChannelCheck}
# Install project dependencies
yarn install
# start with nodemon (npm i -g nodemon)
yarn run test
and that's it! Your bot is ready for serving you!