Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wh0/shardsnap-sample-pingpong
https://github.com/wh0/shardsnap-sample-pingpong
discord eris hacktoberfest serverless
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/wh0/shardsnap-sample-pingpong
- Owner: wh0
- Created: 2020-07-10T00:21:24.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-12-10T08:21:36.000Z (about 2 years ago)
- Last Synced: 2023-03-27T18:12:26.875Z (over 1 year ago)
- Topics: discord, eris, hacktoberfest, serverless
- Language: JavaScript
- Homepage: https://glitch.com/edit/#!/dcc-sample-pingpong
- Size: 13.7 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Shardsnap sample: pingpong
[back to Glitch](https://glitch.com/edit/#!/shardsnap-sample-pingpong) /
[back to GitHub](https://github.com/wh0/shardsnap-sample-pingpong)This is a starter project for building a Discord bot with Shardsnap (formerly DCC,
[more info](https://support.glitch.com/t/a-prototype-bot-relay-for-discord/27845)) and Eris.Or maybe this isn't that at all.
Maybe this is a project someone remixed from that, and they never bothered to update the README.
Let's try not to be that someone.## Getting started
1. Remix this project on Glitch.
2. Set your desired project name.
3. Run
```sh
echo "admin:$(head -c16 /dev/urandom | base64)"
```
in the project terminal, get the result, and put it in `SHARDSNAP_SECRET` in `.env`.
4. Create an application in the
[Discord Developer Portal](https://discord.com/developers/applications), get the "CLIENT ID,"
and put it in `BOT_USER_ID` in `.env`.
5. Add a bot to the application in the
[Discord Developer Portal](https://discord.com/developers/applications), get the "TOKEN," and
put it in `DISCORD_TOKEN` in `.env`.