Commit graph

373 commits

Author SHA1 Message Date
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
c82370ae49 ajout reminder 2021-05-11 10:05:47 +02:00
aed75a118c ajout annotations commande avis 2021-05-08 10:31:05 +02:00
ab1b0d11c9 fix mention in avis at the beginning and at the end 2021-05-08 10:28:58 +02:00
716d9039bd adding right prefix in command suggestion 2021-05-08 02:30:53 +02:00
c1131967b6 fix mention in vote 2021-05-08 02:22:22 +02:00
316e95760b changement sondage/avis try:except: 2021-05-08 01:48:06 +02:00
05d8c40cb7 adding the right prefix in the rich presence 2021-05-07 16:48:40 +02:00
099cf2cc06 adding custom prefix 2021-05-07 16:44:47 +02:00
f62a4b37a6 ajout commande avis + fix probleme récupération ID lors d'un copié collé 2021-05-07 16:38:16 +02:00
733027e8c6 update map amongus 2021-04-01 16:01:43 +02:00
bd8b256e6d fix issue #2 2021-03-28 01:41:54 +01:00
22b5924c29 grouping timezone format in one command 2021-03-28 01:38:28 +01:00
69445cd6a0 update timezone : using env variable 2021-03-27 00:08:53 +01:00
568aa99270 amélioration lisibilité citation 2021-03-27 00:02:01 +01:00
131b452e14 remove tokens.py and adding environnement variable 2021-03-17 20:25:10 +01:00
dc14278930 fix citation without attachments 2021-02-22 05:30:41 +01:00
36679d08b4 adding attachments to citation 2021-02-22 05:25:04 +01:00
c2f4444792 citation: reply when message can not be deleted 2021-02-22 04:19:36 +01:00
91b33b0535 dict to list in switch 2021-02-22 04:15:07 +01:00
dc7879e2a3 delete a comment 2021-02-22 04:14:55 +01:00
8491e843ab removing useless import 2021-02-22 03:03:47 +01:00
384cb52fdc Changing random color according with Rapptz/discord.py#6067 2021-02-22 02:39:01 +01:00
394aae33c5 moving files to src folder 2021-02-22 02:12:50 +01:00