Commit graph

263 commits

Author SHA1 Message Date
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
c575f3f7d1 If message going into starboard is nsfw and starboard is nsfw too don't put in spoiler 2019-08-15 16:40:17 +02:00
7ef84c3887 Update blacklist 2019-08-12 08:45:26 +02:00
BuildTools
ad5ed9cf2c if message come from nsfw channel, add spoiler 2019-08-12 08:28:04 +02:00
Loïc Bersier
1a859350ce removing spaces was bad idea 2019-07-19 17:00:38 +02:00
4edf84b66f remove spaces 2019-07-18 01:46:31 +02:00
9d0371f865 remove space on necessary area 2019-07-18 01:45:06 +02:00
37913d8dba fixed infinit haha yes 2019-07-14 19:39:38 +02:00
Loïc Bersier
da4865a99d only if message is haha yes 2019-07-14 11:31:56 +02:00
Loïc Bersier
6230437bab startsWith and not includes 2019-07-14 11:29:10 +02:00
Loïc Bersier
8748fe3bf0 infinite haha yes 2019-07-14 11:19:05 +02:00
f0d66466f5 fix for star/shameboard 2019-07-11 17:30:26 +02:00
Loïc Bersier
c241bcd297 me dumb 2019-07-09 09:49:37 +02:00
1c1853de88 i went full retard 2019-07-09 04:57:21 +02:00
a1216c0ca1 fix send attachment 2019-07-09 04:54:56 +02:00
Loïc Bersier
e0556346ff make tag work without autoresponse 2019-07-08 23:09:29 +02:00
Loïc Bersier
1b66983fb7 switch to mysql 2019-07-08 22:10:14 +02:00
Loïc Bersier
082bc340b3 Merge branch 'master' of https://gitlab.com/loicbersier/discordbot 2019-07-05 19:04:16 +02:00
Loïc Bersier
c7ff663155 changed the way it says the prefix because it looked weird 2019-07-05 19:04:06 +02:00
7102329133 make it reload tag 2019-07-01 21:15:45 +02:00
e42d82828b same kid alt account 2019-07-01 06:19:54 +02:00
5c07a5096e same mad kid 2019-07-01 06:15:01 +02:00
b4130c38c9 some mad kid 2019-07-01 06:13:50 +02:00
ee8957913f fixed the command not working 2019-06-30 22:47:25 +02:00
e9f73ab462 Chech if these files exists 2019-06-28 17:05:01 +02:00
Loïc Bersier
da53c24feb made it better 2019-06-28 03:50:16 +02:00
7d978527da Merge branch 'master' of https://gitlab.com/loicbersier/discordbot 2019-06-22 17:48:19 +02:00
74cc9425c5 Changed how embed look 2019-06-22 17:48:17 +02:00
Loïc Bersier
9fd6104fc6 Number of users => Numbers of users 2019-06-20 22:34:02 +02:00
df01cf2ea7 ham 2019-05-30 18:40:47 +02:00
Loïc Bersier
e660b238a4 blacklisted wrong user 2019-05-11 20:56:36 +02:00
Loïc Bersier
0fce3c25fd blacklist someone else 2019-05-10 20:29:09 +02:00
Loïc Bersier
d789318590 Same as welcome but for people who leave 2019-05-10 16:36:17 +02:00
Loïc Bersier
bd3461fddd fixed missing : 2019-05-09 21:34:01 +02:00
Loïc Bersier
df40fa0f58 welcome message for new user 2019-05-09 21:33:52 +02:00
Loïc Bersier
043ddde699 Added [attach:] 2019-05-08 22:57:22 +02:00
8d6950ac20 correctly show number of bot and also show number of users and total members 2019-04-17 19:11:16 +02:00
a2f7969342 fixed indent 2019-04-13 17:49:58 +02:00
bdc2f7c144 dosent return when missing star/shameboard 2019-04-13 00:57:14 +02:00
abaaa67d23 Replaced hardcodded ID whith BotID from config.json and added fetch message thing ( not in use ) 2019-04-11 18:17:44 +02:00
5be3b9645b Shows number of bot in the guild 2019-04-11 18:16:48 +02:00
b18c13cc2c Show how many guild the bot in after beign added/deleted from a guild 2019-04-07 20:53:09 +02:00
5b6b664d94 time to remove that useless thing 2019-04-05 21:51:39 +02:00
32998a9860 forgot to save i think 2019-04-05 21:47:18 +02:00
afcb092280 fixed 2019-04-05 21:45:19 +02:00
d31c4e4300 a 2019-04-05 21:44:45 +02:00
f663327f9a a 2019-04-05 21:38:09 +02:00
49b531d971 added [delete] for the tag that will delete the message 2019-04-05 19:46:59 +02:00
1ba15e1fbc a7a 2019-04-05 19:39:39 +02:00
d0f266ee82 I can't spell 2019-04-01 00:47:37 +02:00
9e872efdc6 5 is maybe too low 2019-04-01 00:06:34 +02:00
538f2cf29e changed to 5% 2019-04-01 00:02:49 +02:00
41b1214bb7 change activity 2019-03-31 20:41:19 +02:00
7631f85bdc Add console.log 2019-03-31 20:38:54 +02:00
3dcb047afd When april first, start Haha yes gold 2019-03-31 17:31:47 +02:00
Loïc Bersier
a695d01800 Haha yes GOLD 2019-03-31 19:17:50 +02:00
fd12f4a373 changed the embed a little and fixed thumbnail 2019-03-31 00:37:35 +01:00
Loïc Bersier
efdfdb52ba Removed useless thing 2019-03-30 03:50:35 +01:00
c89679e0f2 added channel in embed 2019-03-29 21:15:30 +01:00
c503041402 crazy blacklisted 2019-03-26 19:37:06 +01:00
Loïc Bersier
25d69f8d45 Embed for when there is only an attachement 2019-03-26 02:46:36 +01:00
6d35e79087 fixed typo 2019-03-25 20:37:38 +01:00
Loïc Bersier
b3230a1287 Added star count and chnaged embed layout 2019-03-25 08:17:32 +01:00
64d56ddba7 added random message to blacklisted user & a message to blacklisted server 2019-03-23 23:55:52 +01:00
68b16cf86c Only show first prefix 2019-03-23 19:31:31 +01:00
a1b712a13d Choose between playing and watching status at random on start 2019-03-23 19:28:57 +01:00
7ed8c35072 Fixed bot activity on startup ( about time ) 2019-03-23 19:00:51 +01:00
84d123fadd removed self react 2019-03-19 21:05:47 +01:00
f73780d3fc Im really the dumbest mofo on earth removed usless `` 2019-03-15 23:43:37 +01:00
142c49557a Accidently pushed that 2019-03-15 18:04:25 +01:00
79b9763159 Send image as attachment when the message is only a link 2019-03-15 17:08:16 +01:00
loicbersier
1d6d81e972 Jump to message in embed 2019-03-13 19:19:30 +01:00
loicbersier
b68a5f9cc3 Forgot to test with message, it now work 2019-03-13 19:07:52 +01:00
loicbersier
59a3213f98 Made the starboard/shameboard look cleaner ( not in the code side Kappa ) 2019-03-13 18:57:54 +01:00
9dee4389c4 Arrenged it a little 2019-03-02 20:15:09 +01:00
cb411ed813 Tell the remaining cooldown for the command 2019-02-27 18:22:16 +01:00
b194b8011c dosen't throw error 2019-02-15 01:09:08 +01:00
fcaa51a555 Configurable starboard 2019-02-14 18:44:21 +01:00
4796be772a Dosen't spam anymore 2019-02-10 16:23:49 +01:00
080499defd removed console.log 2019-02-10 13:02:28 +01:00
8d22b74f06 added embed colors 2019-02-10 02:11:53 +01:00
94f8f62952 2019-02-10 02:09:42 +01:00
5feca79a5e Im ugly please dont look at me 2019-02-10 02:07:06 +01:00
9fa1b96ddd added footer 2019-02-10 01:50:42 +01:00
a2648e82ab Very hacky embed thingy 2019-02-10 01:49:01 +01:00
a7392d46f2 [ban] [kick] to obviously ban and kick author 2019-02-08 20:01:46 +01:00
8f95a637f5 can use the random thingy on tag 2019-02-08 19:06:29 +01:00