mirror of
https://github.com/LBRYFoundation/lbry-tipbot.git
synced 2025-08-23 08:47:23 +00:00
The tipbot for discord
So it turns out that if you try to print a userid of someone that isn't in that server, such as in a dm channel, it simply displays as invalid user (Even though userids are unique across the entirety of discord, got to love that logic). So now the private message instead uses the .username and .tag attributes to provide the normal userid, like so: @GenericUser#1234 While this may be a tad confusing to those using nicknames, it identifies the exact individual doing the tipping, it just might require a little digging. |
||
---|---|---|
bot | ||
config | ||
.babelrc | ||
.gitignore | ||
LICENSE | ||
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