Commit graph

527 commits

Author SHA1 Message Date
f25c9250ec
Switch to an alpine container and single file, self-contained deployments 2021-03-19 01:10:22 +01:00
1c64328587
Upgrade to .net6 preview 2021-03-19 00:21:35 +01:00
d1d57ba714
Refactor karma commands 2021-03-18 23:53:56 +01:00
c77b501b6c
Fix message sent when user is trying give themselves !neutral karma 2021-03-18 12:27:26 +01:00
6c142f41d3
Upgrade discord.net 2021-03-18 12:23:18 +01:00
c1b8394e1b
Add a !neutral command for karma, it does nothing. 2021-03-18 12:06:41 +01:00
eddd005d34
Add translations for !corona 2021-01-25 01:40:51 +01:00
644d877e29
Show country flag when !corona has a country code parameter 2021-01-25 00:49:18 +01:00
bbb9b89422
Add Support for emoji flags in the emoji converter 2021-01-25 00:48:42 +01:00
4fd62e9184
Make sure that the build version suffix is not a number 2021-01-24 23:06:47 +01:00
0434335239
Fix !corona by changing data source to covid19-api.org, added a country code parameter as well 2021-01-24 22:15:15 +01:00
21303bfca8
Remove code in the stats handler that checks if 2021 has started 2021-01-01 18:06:40 +01:00
e495e2df17
Use the correct unit when listing messages in a season 2021-01-01 02:48:28 +01:00
d477a4b056
Update the translations for !rank with the new rank types 2020-12-30 23:34:22 +01:00
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