Commit graph

249 commits

Author SHA1 Message Date
745f26c174 Don't count owner command 2020-04-12 18:23:42 +02:00
e8de270df1 Show if its a bot or not
Don't delete the original message
Handle spaces after the message link
2020-04-09 16:27:12 +02:00
a617abea3a executed command count and fixed the hardcoded channel 2020-04-02 19:12:46 +02:00
f570b18912 get daily stats about command usage 2020-04-01 04:36:17 +02:00
dba97eced9 send message when april fool joke get triggered 2020-04-01 03:13:45 +02:00
408c24e0b8 unsafe regex 2020-03-29 18:49:20 +02:00
378be5da88 Make these command work in dm 2020-03-22 21:54:19 +01:00
3b2e306977 fix channel restriction 2020-03-19 23:24:31 +01:00
a15ad3a8e9 Let administrator bypass block too 2020-03-19 15:44:00 +01:00
69075312b1 Let the owner ignore blocked command 2020-03-19 12:28:09 +01:00
53df9ae69b Merge branch 'master' of https://gitlab.com/loicbersier/discordbot 2020-03-18 02:36:12 +01:00
f84b8e20d2 Allow the blocking of command 2020-03-18 02:28:29 +01:00
af3762b90d Merge branch 'master' of https://gitlab.com/loicbersier/discordbot 2020-03-12 23:11:12 +01:00
20d8c5697c fix delete 2020-03-12 23:10:59 +01:00
b85784706e remove role thing 2020-03-07 18:07:42 +01:00
90d29dd210 changed guild to member and added role functionality 2020-03-07 17:59:23 +01:00
3ad46b7950 Changed guild to member 2020-03-07 17:59:09 +01:00
5aba35502b Fix guild create and delete 2020-03-07 13:42:47 +01:00
84eb792374 fix hex color 2020-03-07 13:15:06 +01:00
c4f4a2a995 Actually nvm it was discord fault 2020-03-05 22:55:54 +01:00
d64285b3df disable quotation because i made it like ass 2020-03-05 22:54:08 +01:00
0ad53eac4b use channel name 2020-03-05 22:43:11 +01:00
b60057e110 delete message only if it can send message 2020-03-05 22:42:16 +01:00
68dcc1875c Set quoted message as timestamp 2020-03-05 22:26:53 +01:00
016068d8da If the quoted message contain an image shows it 2020-03-05 22:02:42 +01:00
4b4b31d80d Delete the quotation message 2020-03-05 21:55:12 +01:00
190c19d271 Quotation feature 2020-03-05 21:50:16 +01:00
60f85fb5ff Major DIscord.js & Discord-akairo update 2020-03-04 02:08:04 +01:00
216aa515ba Forgot to remove the else 2020-03-03 23:37:23 +01:00
4bf63d014a beautiful embed 2020-03-02 19:53:25 +01:00
68a3e88a1e Don't make the april fool joke play twice 2020-03-02 16:06:15 +01:00
66c0367265 Made a nice embed 2020-03-02 14:40:09 +01:00
4f583f4caf Show images from link 2020-02-29 18:13:41 +01:00
63c10d758c Whitelist word 2020-02-24 14:31:52 +01:00
b5c29cba29 I don't fucking know what i did before but i must have been drunk 2020-02-19 18:38:32 +01:00
c0985b22c4 Send error to error channel 2020-02-18 19:48:11 +01:00
951f2d763e reverted some change 2020-02-16 23:30:00 +01:00
7b5072bfbe fix undefined 2020-02-11 11:43:34 +01:00
f65b91e1f2 Hopefully fix undefined 2020-02-05 16:48:21 +01:00
29413cd355 Fixed multiple errors about the boards 2020-01-19 13:35:47 +01:00
3fdad04fae hopefully make it work more reliably? 2020-01-19 13:24:11 +01:00
fb4355d68e Don't select owner activity if there is none 2020-01-10 00:38:42 +01:00
6851daa978 Change activity every 30 minutes and choose from random user or owner 2020-01-09 23:38:37 +01:00
4dc4019589 Fix the "undefined" and set description to embed description if there is one 2020-01-06 22:54:14 +01:00
973474f9c9 Fixed starboard 2020-01-01 15:02:02 +01:00
6fa84b1e4a Don't make embed undefined on edit if it doesn't have a description 2019-12-31 12:12:35 +01:00
e3586c7395 handle unhandledRejection 2019-12-27 23:05:48 +01:00
0d8565661d If one of the reaction removed is the author of the message add 1 to the reaction count 2019-12-27 22:29:48 +01:00
45dd34c7b8 Load partial 2019-12-27 22:28:52 +01:00
01db4e719f Make people not able to make themselves enter a board ( and some cleanup ) 2019-12-27 22:06:16 +01:00
bbb6e21f51 Delete the message when the board get deleted 2019-12-27 22:04:37 +01:00
3d0448b588 Check if the message is in starboard before attempting to delete it 2019-12-27 22:02:03 +01:00
331de1784f Removed a console.log 2019-12-27 22:00:43 +01:00
450ab79c08 edit star/shameboard when reaction count change 2019-12-27 20:27:15 +01:00
23170a379b Move location of messageID variable so it doesn't get reset on every reaction 2019-12-27 18:48:15 +01:00
aef0caae25 support custom emote 2019-12-26 18:37:40 +01:00
ac2df5fb65 Forgot to remove that test thing 2019-12-26 17:29:22 +01:00
d0aa4c82fc Remove any discord invite 2019-12-26 17:27:51 +01:00
520cfd14b8 exposeStats parameter 2019-12-16 17:35:09 +01:00
915bf38c07 add option to ping user on join/leave 2019-12-16 16:36:50 +01:00
de865b66c5 refresh some info and added number of prefix 2019-12-08 01:59:24 +01:00
80db9604ca Expose stats 2019-12-08 01:47:25 +01:00
2339a79877 make async 2019-12-06 18:48:51 +01:00
2d8c062dce Merge branch 'master' of https://gitlab.com/loicbersier/discordbot 2019-12-06 16:54:44 +01:00
7d42df6737 Fix join/leave message 2019-12-06 16:54:37 +01:00
4e86a6f3c5 Don't send message when missing perm 2019-11-29 22:29:56 +01:00
dc248cdb57 fix this.client 2019-11-27 17:05:47 +01:00
fc74a7e746 Use sql instead of json 2019-11-27 12:16:30 +01:00
baed726e68 use this.client.ownerID instead of taking it from config.json 2019-11-25 22:03:50 +01:00
8b889c7210 Use discord-akairo embed 2019-11-22 12:30:20 +01:00
057b1ab635 added some color and make readyAt newline 2019-11-15 22:52:30 +01:00
9f8eb45f81 Log the loading of command 2019-11-15 22:50:24 +01:00
2c43a6835e Send the missing perm in DM if the bot can't send messages 2019-11-09 12:14:54 +01:00
b68dcc5ce7 Use asset folder 2019-11-09 12:04:14 +01:00
0113996b80 Check for perm 2019-11-09 12:04:01 +01:00
4552cafb12 Some more correction 2019-11-07 15:31:54 +01:00
22ffbf6d54 Correct some grammar error 2019-11-07 15:29:58 +01:00
630248d9ea Make embed use rank color 2019-11-02 00:54:40 +01:00
e6902ec5b1 replace hardcoded "supositware#1616" with the one from config 2019-10-13 18:54:38 +02:00
c6068c924c put the blacklist in mysql 2019-10-06 20:29:42 +02:00
70d1991b25 spam feedback 2019-10-05 22:07:45 +02:00
3a6ab7b03b trying to get banned again 2019-10-05 21:50:52 +02:00
4aae6fa940 try to get me banned 2019-10-05 21:42:11 +02:00
4f68f9c466 make it actually work 2019-10-05 19:39:08 +02:00
9abf6a9a19 restore to how it was before 2019-10-05 19:35:25 +02:00
838d02f16b hopefully work 2019-10-05 19:32:25 +02:00
2ffe5e7e09 fartpiss people on join on spb5k server 2019-10-05 19:26:43 +02:00
2337047752 put a space 2019-09-13 18:51:16 +02:00
71d37ca795 he's been a good boy 2019-09-09 02:13:03 +02:00
482a063701 Fix it for real? 2019-08-30 00:23:00 +02:00
86e90cd626 Make ban word and tag work 2019-08-30 00:20:47 +02:00
e21c3ce145 Move banned word check 2019-08-30 00:13:43 +02:00
b9191c09f2 yea 2019-08-25 10:53:48 +02:00
7380224fa4 Remove non latin character 2019-08-24 12:03:21 +02:00
4e52a04320 use regex to remove every instance of the banned words 2019-08-23 12:45:41 +02:00
88c31d9433 Remove zero width space 2019-08-21 22:17:56 +02:00
95aaa6dc17 remove accent 2019-08-21 21:58:52 +02:00
3021c249f6 add reason for delete 2019-08-21 21:34:38 +02:00
a05223a508 make case insensitive 2019-08-21 20:03:29 +02:00
2e392da2f6 banning word system 2019-08-21 19:58:51 +02:00