Commit graph

463 commits

Author SHA1 Message Date
8bdf2e9681
Add support for !rank quote 2020-12-30 23:33:53 +01:00
17f62d7607
Ignore the discord bots server when updating stats 2020-12-30 23:23:40 +01:00
01f0d2f43b
Check every 5 minutes if it's 2021 instead of every hour in the stats handler 2020-12-30 23:19:15 +01:00
29bb8035fe
add !rank seasons to the rank command 2020-12-30 23:17:00 +01:00
29c0def713
Start counting messages per quarter starting 1 january 2021 2020-12-29 22:33:19 +01:00
7e792bd782
Fallback to user repo when retrieving a user via the discord gateway fails or times out 2020-12-29 17:12:03 +01:00
714b0008bc
Allow a die to have 145 sides 2020-12-11 22:39:05 +01:00
97d479adc4 Merge branch 'quote-with-id-deprecation' into 'master'
Remove the ability to create quotes from message ids

See merge request dbgit/open/geekbot!19
2020-12-03 09:55:49 +00:00
baf09e2f38
Remove the ability to create quotes from message ids 2020-11-25 15:21:55 +01:00
09dbeb9766
Fix a stupid bug with the !avatar command 2020-11-24 21:40:33 +01:00
4c3b7044ce
Don't count 1 to many sides in the !dice command 2020-11-02 18:33:05 +01:00
2fb815bc97
Don't use embeds for !dog 2020-11-02 18:01:57 +01:00
ffab56d4a5
Delete original message from user after using !emojify 2020-10-23 21:46:59 +02:00
fe51dfe540
Revert last commit 2020-10-09 17:25:53 +02:00
28a5b9322e
Allow Rune#0007 to bypass the ignored servers restriction 2020-10-09 17:10:49 +02:00
41795aa13f
Small wording tweaks to the !anime and !manga commands. They also no long need their description html decoded. 2020-09-24 18:29:21 +02:00
ed7748833a
Format dates in the !anime and !manga commands with the correct culture info 2020-09-24 12:49:55 +02:00
7ef0b6a319
Swap the my anime list wrapper for the !anime and !manga commands 2020-09-24 12:21:21 +02:00
216188f61f
Add a deprecation warning for quoting by message ID 2020-09-23 16:46:13 +02:00
58bd4d17d0
Optimize the !quote database query 2020-09-23 16:28:50 +02:00
ae9b9caeb9
Add random.org for random number generation. 2020-09-23 16:05:43 +02:00
b743539c74
Upgrade to .net5 rc1 and fix all breaking changes in the web api since .net core 2.2 2020-09-22 13:06:57 +02:00
482a74839a
Fix some swiss german grammar (never heard of it either) in the !quote command 2020-09-22 12:24:12 +02:00
cbe2aa23c9
Make sure that examples in the !urban command are not longer than 1024 characters. 2020-09-15 23:25:40 +02:00
d3c284102b
Add an api endpoint to shutdown the bot from the browser 2020-09-15 00:14:27 +02:00
f71349b378
Reduce logging by making the user repo update message a debug log message 2020-09-08 20:20:09 +02:00
81373b7614
Make the ErrorHandler more resilient in case an exception is thrown during the error handling 2020-08-31 21:50:01 +02:00
ce1153a0e2
Upgrade Entity Framework to preview 8 2020-08-31 19:29:03 +02:00
8246c7a862
When json logging is enabled, log it to the console without color or additional timestamp, also log the messages with the correct log level. Remove the logs folder. 2020-08-31 18:46:00 +02:00
546b5450e7
Deal with MTG Gatherer downtime 2020-08-26 23:28:03 +02:00
3c4a5c638b
Upgrade Microsoft.Extensions.* to .NET5 preview 8 2020-08-26 23:15:57 +02:00
a78e92d230
Remove YamlDotNet 2020-08-15 00:40:59 +02:00
79fb7dece6 Merge branch 'rework-localization' into 'master'
Rework Localization

See merge request dbgit/open/geekbot!18
2020-08-14 21:47:44 +00:00
60e36daaec
Translate !stats 2020-08-14 23:34:02 +02:00
33829e91bc
Delete the TranslationHandler and the old translations file. Refactor GeekbotCommandBase to get the server language from guild settings. Create DateLocalization to create a localized relative time remaining string. 2020-08-14 23:15:11 +02:00
078c884df7
Convert Role command to new localization method 2020-08-14 18:11:52 +02:00
90af781c7b
Start Using resource files (.resx) for translations. Create GeekbotCommandBase to reduce command boilerplate. Convert admin, choose, cookies, karma, quote, rank, roll and ship to the new localization method. 2020-08-14 03:30:54 +02:00
12388fd7d0
Curate Media Files 2020-08-14 00:12:14 +02:00
187fd6a04f
Remove code duplication from !quote 2020-08-13 22:46:53 +02:00
726ee77ed4
Fix bug where message links from discord stable would be considered invalid 2020-08-13 20:04:54 +02:00
ad086a5e0c
Make it possible to create quotes from message links 2020-08-13 19:51:56 +02:00
7942308059
Alias "!quote save" with "!quote add" 2020-08-13 18:22:09 +02:00
c893e45004 Merge branch 'TheGreatSplit' into 'master'
The Great Split

See merge request dbgit/open/geekbot!17
2020-08-13 15:59:58 +00:00
d68ce459ef
Fix CI Pipeline: tests should be executed from the tests folder (with a lowercase t) 2020-08-13 17:47:28 +02:00
bd117e2595
Fix Translations file path 2020-08-13 17:42:33 +02:00
97ad54df9e
Rename the folder Tests to tests 2020-08-13 17:23:03 +02:00
61ce14a61d
Change .gitlab-ci and dockerfile to fit the new project structure 2020-08-08 22:33:02 +02:00
fc0af492ad
Split Geekbot.net into src/Bot, src/Core, and src/Web 2020-08-08 22:24:01 +02:00
7b6dd2d2f9
Rename the clients namescape to MalClient, because that was the only thing in there, while other clients got their own namespaces 2020-08-08 21:17:02 +02:00
c22d0cf941
Merge WikipediaApi into the main code base 2020-08-08 21:15:17 +02:00