https://github.com/iamdevlinph/weekend-discord-bot
Bot to notify that it's Friday and the start of the weekend fun!! And also when it's about to be Monday :(
https://github.com/iamdevlinph/weekend-discord-bot
bot discord nodejs
Last synced: 4 months ago
JSON representation
Bot to notify that it's Friday and the start of the weekend fun!! And also when it's about to be Monday :(
- Host: GitHub
- URL: https://github.com/iamdevlinph/weekend-discord-bot
- Owner: iamdevlinph
- Created: 2021-08-21T11:53:30.000Z (almost 4 years ago)
- Default Branch: develop
- Last Pushed: 2021-08-27T09:40:29.000Z (almost 4 years ago)
- Last Synced: 2024-11-28T10:29:29.587Z (6 months ago)
- Topics: bot, discord, nodejs
- Language: JavaScript
- Homepage:
- Size: 507 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Getting Started
```
yarn install
yarn start
```
## Getting `CHANNEL_ID`
Enable developer mode on Discord. So you can retrieve `CHANNEL_ID` values.
Right click a channel you want to use as your `TEST_CHANNEL_ID`.

## ENV Variables
### DISCORD_TOKENGo to the [developer portal > applications](https://discord.com/developers/applications) and navigate to the bot. You can get the `DISCORD_TOKEN` by clicking on reveal token or just click on Copy.

If you can't see the section above, you just need to add a bot.
### BOT_PREFIX
The prefix for the bot, usually starts with `!`.### TEST_CHANNEL_ID
The test channel ID where the scheduler will send messages.### PROD_CHANNEL_ID
The channel ID where the scheduler will send messages.### TZ
Timezone to base on. Default `Asia/Manila`### PORT
Port for the app to run on. Default is `3000`## How to add bot manually?
Copy the `CLIENT_ID`
And paste the following url to the browser
```
https://discordapp.com/api/oauth2/authorize?scope=bot&client_id=CLIENT_ID
```## Where to host for free?
I'm currently using https://replit.com/. And use https://uptimerobot.com/ to keep on pinging on the server to keep it active.