https://github.com/jbolda/aeccollective-bot
https://github.com/jbolda/aeccollective-bot
Last synced: 12 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/jbolda/aeccollective-bot
- Owner: jbolda
- Created: 2019-04-26T12:12:11.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2024-06-17T21:30:13.000Z (almost 2 years ago)
- Last Synced: 2025-03-03T02:13:35.566Z (over 1 year ago)
- Language: JavaScript
- Size: 31.3 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# aeccollective-bot
## Prerequisites
You'll need:
- A [Discord account](https://discordapp.com/register)
- Permission to add accounts to a server, or your own server
## Steps to set up:
1. Create an App here: [https://discordapp.com/developers/applications/me](https://discordapp.com/developers/applications/me)
2. Create an App Bot User for your App by clicking "Create a Bot User"
3. Add the App Bot User to your Discord server using this link: `https://discordapp.com/oauth2/authorize?&client_id=&scope=bot&permissions=0` replacing `` with the Client ID found on the page of your App
4. Set the `DISCORD_BOT_ID` value in `.env` using the Bot User token ("click to reveal" in the App page under the bot username)
## The code
Check out `server.js` to see how it works ✨
We're using the [Eris](https://npm.im/eris) library to interact with the Discord API.
If it's working you should see "Ready!" in the logs.