https://github.com/byteball/stablecoins-discord-bot
Watch Obyte bonded stablecoins and post event notifications on Discord
https://github.com/byteball/stablecoins-discord-bot
decentralized-finance defi stablecoin stablecoins
Last synced: 6 months ago
JSON representation
Watch Obyte bonded stablecoins and post event notifications on Discord
- Host: GitHub
- URL: https://github.com/byteball/stablecoins-discord-bot
- Owner: byteball
- License: mit
- Created: 2020-09-03T11:55:24.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2022-09-30T21:05:29.000Z (about 3 years ago)
- Last Synced: 2023-08-03T15:20:28.701Z (about 2 years ago)
- Topics: decentralized-finance, defi, stablecoin, stablecoins
- Language: JavaScript
- Homepage:
- Size: 64.5 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Stable coins Discord bot
Watch the [Obyte bonded stable coins](https://ostable.org) and post a notification on Discord when something happens.
**Important:** works only with NodeJS version 11.
## Setup
- `npm install`
- Run with `node start.js`, it will create an app data directory in `~/.conf/stablecoins-discord-bot` then fail due to configuration missing
- While logged on Discord webapp, create an application at https://discord.com/developers/applications
- Select the application, select bot in menu, copy the bot token
- Copy `.env.sample` file to `.env` and complete it with the bot token and the channel id the bot will post to
- While logged on Discord, use the following url template to add the bot to your server: https://discord.com/oauth2/authorize?client_id=881946977754038272&scope=bot&permissions=2048, `client_id` can be found in the General Information of your Discord application (Application ID), permissions should be `2048` to allow only posting message.
- Run the bot with `node start.js`