Abheek Dhawan
5c7758fa99
Update usersWith command to select closest named role
4 years ago
Eric Yang
16357ff576
Update bot.js
Changed "you can't ban yourself" for kick command to "you can't kick yourself", although why doesn't the person who wants to kick themselves just leave the server in the first place :/
4 years ago
Abheek Dhawan
0712a1486c
Return if new channel is just a DM
4 years ago
Abheek Dhawan
b5eb0cf28c
Add command to add emojis
4 years ago
Abheek
d27f8d9259
Fix misplaced parenthesis
4 years ago
xlq902
47815ac6d8
Updating bot.js
Fixing issue where only lowercase inputs were responded to by the bot
4 years ago
Abheek Dhawan
7187455015
Don't log reaction adds, only reaction removes
4 years ago
Abheek Dhawan
3f604b09eb
Add embed scroll functionality when querying users with role
4 years ago
Abheek Dhawan
238497110c
Log only reaction deletes and set the number of emojis to be 0 if no emoji with that ID is found on the message
4 years ago
Abheek Dhawan
486aaf2fb1
Shorten külboard and message reaction log embed message if it's too long
4 years ago
Abheek Dhawan
0e54e7d2f9
Don't delete data from database on getting kicked from server, instead DM server owner asking for issues.
4 years ago
Abheek Dhawan
f9bbef37e3
Add async for querying mongoDB
4 years ago
Abheek Dhawan
fbc495ece3
Attempt to exclude bots for member count channel
4 years ago
Abheek Dhawan
8ade947a5e
Use message.guild
4 years ago
Abheek Dhawan
e8cbfd0ce2
Fetch all members first to cache
4 years ago
Abheek Dhawan
375624e952
Allow for reactions on ban if you do not have admin perms
4 years ago
Abheek Dhawan
ac80272cd0
Allow members with ban permissions to ban others
4 years ago
Abheek Dhawan
5b936ff78a
Add thumbnail for role info embed
4 years ago
Abheek Dhawan
573b8619cb
Make sure to send role info embed
4 years ago
Abheek Dhawan
06e4be2e7f
Don't query for users in roleInfo
4 years ago
Abheek Dhawan
55f5e0bf3b
Add roleInfo command
4 years ago
Abheek Dhawan
fd0754ba43
Make sure reaction count is within a limit
4 years ago
Abheek Dhawan
2f2fb8335c
Add another stage for new message/icon in külboard
4 years ago
Abheek Dhawan
a7080e2e2f
Change not only emoji, but message as well when the number of reactions is above a certain point
4 years ago
Abheek Dhawan
0ad853bba7
Remove külboard database query logging
4 years ago
Abheek Dhawan
1a68b14976
Remove backticks from around user to prevent it from showing ID
4 years ago
Abheek Dhawan
147aa6d83f
Remove code from külboard text
4 years ago
Abheek Dhawan
9dd6ff7c19
Make külboard fields inline and wrap message in code
4 years ago
Abheek Dhawan
394ec73fff
Improve külboard message embeds
4 years ago
Abheek Dhawan
14b9204cdc
Add different cool-type emoji with different number of 😎 reactions
4 years ago
Abheek Dhawan
3eb55bfb38
Remove max from reaction count field name, because it now works on reaction remove as well
4 years ago
Abheek Dhawan
435bbc7bf0
Declare emojiID and numEmoji after emoji
4 years ago
Abheek Dhawan
2b76db68b4
Attempt to update külboard on reaction remove as well
4 years ago
Abheek Dhawan
7e2db20995
Improve reaction logging
4 years ago
Abheek Dhawan
3810f2eb46
Change >> to unicode »
4 years ago
Abheek Dhawan
0c808b1c93
Use emoji instead of emoji.name to display emojis instead of their names
4 years ago
Abheek Dhawan
5e5b820e48
Make sure to assign variable in conditional statement
4 years ago
Abheek Dhawan
9aed52170c
Use conditional statement to decide whether to use ID or name for emoji
4 years ago
Abheek Dhawan
3e10ad3ff1
Attempt to use identifier instead of ID
4 years ago
Abheek Dhawan
8c119caaac
Only log message.content if there is any (külboard)
4 years ago
Abheek Dhawan
757f7cc82a
Only log message.content if there is any (reaction remove)
4 years ago
Abheek Dhawan
e372ff2d6a
Only log message.content if there is any
4 years ago
Abheek Dhawan
0de43c1d86
Use emoji id to account for custom emojis
4 years ago
Abheek Dhawan
defab62460
Return if member tries to ban/kick themself
4 years ago
Abheek Dhawan
da4a209b9b
Return on ban and kick if member does not have admin priveleges
4 years ago
Abheek Dhawan
225787c342
Return if edited message is caused by embed
4 years ago
Abheek Dhawan
4f4bf56194
Remove invite link from help message
4 years ago
Abheek Dhawan
d6e6dcf896
Fixed edited message log signs for diff
4 years ago
Abheek Dhawan
c039faacf6
Fixed edited message log signs for diff
4 years ago
Abheek Dhawan
0657283cbc
Fix wrong sign in if statement
4 years ago