Commit graph

373 commits

Author SHA1 Message Date
775cd7df26 Fix bug Genius 2021-07-29 12:17:21 +02:00
56be762445 force value instead of making them as default 2021-07-29 01:52:21 +02:00
a4a5c7abcb go trough page of other user in reminderlist 2021-07-28 22:36:30 +02:00
2660b3284a fix bug due to transition 2021-07-28 22:31:47 +02:00
ed9c78e31c migrate reminder in another file 2021-07-28 22:25:18 +02:00
03bc6f8937 replace branch name "main" per "stable" in info command 2021-07-28 22:18:34 +02:00
0c0d26a324 add channel used in info command + improve regex 2021-07-28 22:13:58 +02:00
6a9d5f9d25 link of publication instead of link of image 2021-07-28 22:06:28 +02:00
6dab13b309 Adding page to reminderlist 2021-07-28 21:47:59 +02:00
14002799a3 bold ID 2021-07-28 21:09:37 +02:00
2c917f466e fix #5 2021-07-28 14:40:53 +02:00
cdac6ff88e more clarity in messages 2021-07-28 14:28:48 +02:00
66b993b765 showing id of created reminder + broadcast all expired reminder at once 2021-07-28 14:21:09 +02:00
571eb580cf return ID of created reminder 2021-07-28 14:20:43 +02:00
d88812cf60 fix #6 2021-07-28 14:03:06 +02:00
da5e3d3527 showing discriminator 2021-07-28 13:59:43 +02:00
ecfa9bf1b2 best field name 2021-07-28 13:57:32 +02:00
16fd995e96 Better changelogs display in infos command + difference between host and dev 2021-07-28 13:34:23 +02:00
92fe7a0e92 change gitlab changelogs + new loading of env variables part. 2 2021-07-28 03:26:21 +02:00
155ff9244e using new gitlab webhook 2021-07-28 03:24:53 +02:00
54bee59aa8 using new .env system 2021-07-28 03:17:37 +02:00
66c2e2c241 change gitlab changelogs + new loading of env variables 2021-07-28 03:05:41 +02:00
604be56382 using gitlab 2021-07-28 01:19:19 +02:00
637e6102cc new command minecraft to get color code ig 2021-06-28 12:38:11 +02:00
b057da6627 ajout id de 17 chiffres et déplacement du test dans la méthode cleanUser 2021-06-25 22:14:47 +02:00
79d8141166 adding message when bot reconnect 2021-06-24 22:48:10 +02:00
21916b9935 using lambda method bc it's stylé 2021-06-24 16:00:37 +02:00
7306ab84ab message lors de la deconnexion 2021-06-24 13:17:20 +02:00
1e27e1a5e9 useless word 2021-06-24 13:13:42 +02:00
c898c62a41 ajout des messages cachés 2021-06-24 13:10:07 +02:00
3f02ece95d utilisation de la nouvelle méthode isSlash 2021-06-23 21:27:56 +02:00
3cd0f482b8 ajout nouvelle méthode isSlash + fix bug chifumi 2021-06-23 21:22:59 +02:00
a46cb38b2d utilisation nouvelle méthode pour les slashcommands et changement complet de la commande NSFW 2021-06-23 21:12:29 +02:00
e5d3319841 ajout méthode vérification slashCommand 2021-06-23 21:11:17 +02:00
5729084235 better mutliple pics 2021-06-22 18:48:10 +02:00
0975ed075a double pic 2021-06-22 18:42:49 +02:00
7f4ad7c109 commande changelogs fonctionnelle + ajout des changements si disponible dans la commande info 2021-06-22 15:12:52 +02:00
0b186bd7ec ajout exeption api rate limited 2021-06-22 15:12:10 +02:00
331d4623a4 ajout commentaire reminderloop 2021-06-22 14:03:36 +02:00
904149fcb0 ajout commande changelogs 2021-06-22 14:02:42 +02:00
d0b3a904b0 changement message de bienvenue 2021-06-22 00:06:56 +02:00
22e6d73a36 suppression message au démarrage + role règles + changement DM de bienvneue 2021-06-21 23:55:27 +02:00
277258a984 précisions message reminder 2021-06-16 14:01:55 +02:00
a71cc40ac1 ajout subreddit 2021-06-16 13:59:32 +02:00
5d9be53290 ajout guild pour éviter de supprimer le mauvais reminder 2021-06-16 01:20:42 +02:00
d0c0d00653 changement slash command name memo to note 2021-06-15 21:47:04 +02:00
ea6c6c0504 ajout limite 50 ans pour prévenir bug python int trop grand 2021-06-15 21:41:11 +02:00
00e6721849 interference avec les jours et l'aliase D pour le reminder dans les DM 2021-06-15 21:36:29 +02:00
2cca50a327 aliase QI 2021-06-15 21:35:39 +02:00
90e719241b ajout fonction pour passer récupérer l'id d'une mention + meilleur agencement du code 2021-06-15 21:15:29 +02:00
9b77418728 ajout reminder dans les DM 2021-06-15 20:37:58 +02:00
8c0b1f8ec2 suppression limite 90j pour reminder 2021-06-15 20:25:01 +02:00
20acf896df fix error when there is not ! in mention 2021-06-15 13:06:47 +02:00
3e7220d7ae ajout commentaires 2021-06-15 09:27:08 +02:00
c92bfb93d6 ajout commentaires + fix bug quand message supprimé + preparation ajout nouvelle feature 2021-06-15 09:22:34 +02:00
d473651a6c replace mention by extrarg 2021-06-15 09:12:34 +02:00
2d21d9276b better replace 2021-06-15 09:10:34 +02:00
5ca4f3ed8c ajout exeption dans tiledeltatostring 2021-06-14 23:14:31 +02:00
e2c1971dfd bot deaf in voicechannel 2021-06-14 21:52:25 +02:00
60b4bcb0dc update help message 2021-06-14 02:15:04 +02:00
63d16746f0 reminder help 2021-06-14 02:09:46 +02:00
51c545535a envoie message en DM quand salon indisponible reminder 2021-06-14 01:52:09 +02:00
7d06794d93 ajout méthode pour vérifier l'appartenance d'un rappel à un user 2021-06-14 01:00:10 +02:00
8e0f067062 ajout du reminderdelete 2021-06-14 00:59:32 +02:00
77bcbb3f70 affichage de l'id du reminder 2021-06-14 00:41:05 +02:00
0c88a842c9 update database, recreate yours after this! 2021-06-14 00:37:55 +02:00
531dad68c2 gestion erreur utilisateur non renseigné 2021-06-13 23:38:06 +02:00
3dd361be25 update path 2021-06-11 11:15:26 +02:00
f6d911b137 update path 2021-06-11 11:09:20 +02:00
37a17b8095 boucle for pour le chargement des cogs 2021-06-10 11:15:49 +02:00
3e1336b8b8 remove spaces at end of string 2021-06-10 10:26:11 +02:00
137c646cb5 adding gitkeep 2021-06-08 22:23:11 +02:00
4899904e98 removing temp file 2021-06-08 22:20:24 +02:00
f7ad046304 adding temp file 2021-06-08 22:19:11 +02:00
a758d1c18c creationtable reminder in ready() 2021-06-08 22:15:09 +02:00
9677f3534d ajout aliase dispo dans le message d'aide 2021-06-08 20:08:25 +02:00
4d4574ae0d add guildID 2021-06-08 11:18:30 +02:00
2af04ba300 force right type in requete 2021-06-08 11:18:09 +02:00
eb02269bbb déplacement url de connexion de la base de donnée 2021-06-08 10:46:03 +02:00
77c5ffbdcf gestion erreur 2021-06-08 10:45:38 +02:00
19cb329436 correction ajout reaction en erreur 2021-06-08 10:44:56 +02:00
adb79dd654 using right tz for the 5th times >:( 2021-06-08 02:14:44 +02:00
049536d2b1 ultime fix tz 2021-06-08 01:51:53 +02:00
5bdeb7a4d7 fix tz in whois command 2021-06-08 01:28:39 +02:00
ea2c6d725a give datetime with right tz 2021-06-08 00:54:31 +02:00
4d3e562710 fix display and using right tz 2021-06-08 00:44:11 +02:00
c5823d8fa7 moins de répétition + affichage plus cohérent 2021-06-08 00:22:01 +02:00
ce855a0b98 better import 2021-06-07 23:55:19 +02:00
016727a36a suppression import inutile 2021-06-07 23:34:39 +02:00
1c79ffb4fd utilisation du bon fuseau horaire et meilleur systeme pour l'affichage des données 2021-06-07 22:14:48 +02:00
e2e2e928d0 useless timezone 2021-06-07 22:10:06 +02:00
7c1c34272a better import 2021-06-07 22:08:35 +02:00
b9393a87e0 replace deprecated method 2021-06-07 21:58:34 +02:00
f697ff0643 using utils.time and better display of time in on_message_delete 2021-06-07 21:52:40 +02:00
c3d653fd91 useless import 2021-06-07 21:51:58 +02:00
acc8da8be3 déplacement méthode en rapport avec le temps dans un fichier a part 2021-06-07 21:33:20 +02:00
4440372dbb gestion erreur quand message inexistant lors d'une erreur (slash command) 2021-06-07 21:32:14 +02:00
aec56fd0fc using right tz for reminderlist 2021-06-07 20:29:59 +02:00
fd0151d2ab larger icon in reminderlist 2021-06-07 20:29:32 +02:00
0323aeae46 suppression try except dans loop reminder 2021-06-07 09:56:50 +02:00
e19f0d7556 suppression S 2021-06-07 01:12:42 +02:00
d8b2c003cc meilleur slash args 2021-06-07 00:59:17 +02:00
e9fed9ac5c suppression d'import inutile 2021-06-07 00:06:04 +02:00
340cdb6ea0 suppression espace 2021-06-07 00:03:54 +02:00
664fdfcdb6 déplacement de citation vers son cogs 2021-06-07 00:02:34 +02:00
ca845fe704 ajout du reminderlist 2021-06-06 23:47:10 +02:00
c249ece3a5 goodtimezone better args 2021-06-06 23:46:41 +02:00
5cd3ef088d ajout aliase "rappel" a la commande "reminder" 2021-06-04 14:09:02 +02:00
c11af6ebee ajout marge d'erreur 2021-06-03 20:34:07 +02:00
38057e610a meilleur affichage du temps 2021-06-03 20:14:45 +02:00
08bedb2c5d ajout des jours heures et minutes dans la notification du reminder 2021-06-03 16:34:28 +02:00
2cd81f9444 implémentation de la db dans le reminder 2021-06-03 14:26:51 +02:00
102fb48d91 adding methods for timestamp 2021-06-03 14:26:14 +02:00
05bb9101b8 sortie des résultats de la db 2021-06-03 14:25:24 +02:00
e6c6456803 ajout des récupérations des informations de la db 2021-06-03 14:24:36 +02:00
81f865b102 backtracking nowtimestamp method 2021-06-03 12:33:43 +02:00
c296bb35a9 right import + good name of columns in table + commentary + 2 methods 2021-06-03 12:23:32 +02:00
99765c7b9e get actual time 2021-06-03 12:22:41 +02:00
d0feaf53be adding reminder to the table instead of using asyncio sleep + using a core function to get actual time 2021-06-03 12:22:12 +02:00
cc33f26078 creating reminder table at loading 2021-06-03 12:21:00 +02:00
13a1b23724 adding reminder class 2021-06-03 11:41:51 +02:00
6624e36a85 cursor only inside methods 2021-06-03 11:41:30 +02:00
5577493782 adding custom values to request method 2021-06-03 10:54:03 +02:00
fc805d9b8e ajout méthode pour faire des requetes SQL 2021-06-03 10:33:32 +02:00
28f2e1da89 removing useless package 2021-06-03 09:03:01 +02:00
768b1b5cf6 removing useless parentheses 2021-06-03 08:40:40 +02:00
3bb98edef4 creating db if not existing 2021-06-03 08:30:17 +02:00
6f507b8d29 adding sqlite3 database 2021-06-03 08:07:53 +02:00
1c156e7c77 update help command for reminder 2021-06-02 23:14:52 +02:00
39988aae70 possibilité de ne pas mettre de message dans le reminder 2021-06-02 23:12:40 +02:00
a5c4ed0312 ajout du support avec plusieurs unités dans le remind 2021-06-02 23:10:18 +02:00
e1e5137954 removing autopublish and adding it to my personal cog 2021-06-01 21:21:13 +02:00
2eb182b73d fix random command with n < 1 2021-06-01 21:18:02 +02:00
380814c955 changes on reaction in meme and remove old subreddit 2021-06-01 01:31:24 +02:00
67f3b694ab ajout mots 2021-06-01 01:30:56 +02:00
6776f34d11 update subreddit + fix error meme for slash commands 2021-06-01 01:13:07 +02:00
65c01f47bd suppression du double message quand un meme de reddit ne rentre pas dans un embed 2021-06-01 01:01:54 +02:00
06462290d5 fix cat and dog for private server 2021-06-01 00:51:43 +02:00
718ac774d2 ajout commande random 2021-06-01 00:27:16 +02:00
7f41c59693 ajout permission administrateur 2021-05-31 23:51:02 +02:00
b22058fc77 ajout commande invite 2021-05-31 23:47:02 +02:00
df2ae8f6f1 adding "plus ou moins" in slash commands 2021-05-31 23:29:24 +02:00
d6f3b6462c precision mock command for slash 2021-05-31 23:28:54 +02:00
c9b759e7b8 disclaimer slash commands not working 2021-05-31 23:21:57 +02:00
ae0d286468 change comment 2021-05-31 23:19:12 +02:00
65325f8b5d ajout help slash command + cog desc in regular help 2021-05-31 23:17:21 +02:00
3233b7b709 suppression print de deboguage 2021-05-31 22:10:40 +02:00
e4a7122ea8 ajout commande s*xe dans les slash 2021-05-31 21:55:04 +02:00
8590c69955 deplacement fonctionnalité perso dans le bon cog 2021-05-31 21:30:43 +02:00
6683921bbf précision sur le cogs confreriedukassoulait 2021-05-31 21:29:15 +02:00
b23acae6d4 adding ping slash command 2021-05-31 20:54:26 +02:00
5ddef1976a ajout commentaires 2021-05-31 20:26:57 +02:00
8c88ba9efb ajout du prefix custom dans la gestion des erreurs 2021-05-31 20:24:37 +02:00
29bf7c3b4e remove print 2021-05-31 16:44:02 +02:00
ad1360d3ea fix support for citation for ptb and canary with new domain 2021-05-31 16:43:35 +02:00
6afa48fc13 adding canary links to the citation 2021-05-31 16:21:32 +02:00
e96fad8bf1 real correction due to the new slash command whose commands were bugging if they had arguments 2021-05-31 16:07:21 +02:00
34459adc5e passage des methodes non asynchrone dans un fichier extene "core" 2021-05-31 15:14:31 +02:00
428ebb98d0 swapping commands for help discord server to his own cog 2021-05-31 14:06:51 +02:00
3f81011fbf ajout aliase connect 2021-05-30 13:52:00 +02:00
30aed61b03 Merge branch 'dev-slash' into dev 2021-05-30 13:42:17 +02:00
049ba85627 support des commandes slash pour la catégorie cogs compatible 2021-05-30 13:20:43 +02:00
08eba4e42e fix get id + better prefix location + appel command fix 2021-05-30 13:11:00 +02:00
637b7209a7 fix appel slash command 2021-05-29 13:25:02 +02:00
9eeb286ff6 useless sync on reload removed bc we never unload cogs 2021-05-29 12:50:55 +02:00
673377404e adding all school commands to slash 2021-05-29 12:50:18 +02:00
463b0080d4 adding available commands in internet cogs to slash commands 2021-05-29 00:20:12 +02:00
c9737bb115 ajout précision dans le slash du chifumi 2021-05-29 00:04:58 +02:00
4b25f756f7 fixing errors in slash commands 2021-05-28 23:44:52 +02:00
5ce54afa6e all available commands in fun cogs added to slash commands 2021-05-28 23:11:07 +02:00
2a2fd80674 fix slash command for the iq 2021-05-28 21:30:55 +02:00
4226c1758e adding the iq function in the slashs commands 2021-05-28 21:22:43 +02:00
ed2d7b9a2e adding first true command who support the slash 2021-05-28 19:59:31 +02:00
414c4352f1 update how to add the bot with the right perms 2021-05-28 17:52:23 +02:00
6941d251d4 fix useless import 2021-05-28 14:14:22 +02:00
610b4c4065 better import 2021-05-28 14:13:14 +02:00
8096305121 adding ping command for the slash test 2021-05-28 14:10:05 +02:00
b1f2e3ad39 adding test cog for new slash commands 2021-05-28 14:03:34 +02:00
7caa860753 réorganisation des prints 2021-05-28 13:52:37 +02:00
32e2e5cd75 remove mention in citation 2021-05-28 13:29:52 +02:00
d913f7758f adding ctx to sondage and avis commands 2021-05-26 18:27:17 +02:00
eba1de37f9 fix #3 appel command 2021-05-19 09:11:11 +02:00
b617b37085 better footer in calc 2021-05-19 09:06:49 +02:00
466d8054f7 Ajout du bon prefix dans la commande help 2021-05-15 20:22:14 +02:00
6390f6b6ca new school category 2021-05-15 20:07:49 +02:00
0c981a943e modification avis / reminder -> 2 mentions collés ne posent plus de pb
modification reminder -> les liens sont désormais cliquable
2021-05-15 19:45:34 +02:00
9b57903abb remove parenthesis 2021-05-13 09:44:17 +02:00
d97c1b41b3 adding a to original message of the remindme command 2021-05-13 09:11:09 +02:00
263674b11f new field in info command 2021-05-13 09:06:43 +02:00
f96d395777 adding custom timezone everywhere with one unique call per file 2021-05-13 08:36:42 +02:00
1b94dd973d meilleurs commentaires 2021-05-12 02:46:04 +02:00
8f8cc112cd changement praw -> asyncpraw
changement commande meme -> async
2021-05-12 02:37:45 +02:00
a0f1e6bf62 remove limitation of 5mn in remind 2021-05-12 02:03:22 +02:00
0683828991 update subreddit 2021-05-12 01:59:05 +02:00
a07edd5155 retire les espaces en trop dans les commandes avis et remind 2021-05-11 19:22:18 +02:00
8a4cefb6ef ajout mention facultative dans reminder 2021-05-11 19:07:21 +02:00
af88144ad0 meilleur articulation de la commande AVIS - affichage du remindme avec un embed - support des accords dans le remindme et meilleur gestion d'erreurs 2021-05-11 15:39:06 +02:00
47984b1682 update ping command 2021-05-11 10:45:05 +02:00
8d33e5e1ac commentaire 2021-05-11 10:09:59 +02:00
63b08d0007 ajout help command for reminder 2021-05-11 10:07:36 +02:00