The tipbot for discord
d89722cd1d
Misunderstood the use of GuildMember in Discord.js due to vague documentation, resulting in tipbot accounts being created accidentally due to getting the wrong Snowflake for the user. The function now takes the user.id of the recipient, preformated to match the tipper, with appropriately adjusted references to the user. Hopefully this should fix the issues being had though manual recovery of the currency in the accidentally created accounts will still be required. Sorry for the trouble. |
||
---|---|---|
bot | ||
config | ||
.babelrc | ||
.gitignore | ||
package-lock.json | ||
package.json | ||
README.md | ||
yarn.lock |
Bot for LBRY's Discord
(This README will be updated along with bot updates) Features:
- Tipbot for LBC. Responds to
!tip
. - Dynamic plugin loading with permission support.
Requirements
- node > 8.0.0
- npm > 0.12.x
Installation
Create a bot and get the bot's API Token: https://discordapp.com/developers/applications/me
Edit and rename default.json.example in /config, then run:
npm install
node bot.js