Commit graph

163 commits

Author SHA1 Message Date
76bb645394
Inline MTG Emoji converter 2020-06-19 12:08:28 +02:00
fb676e8918
Add GuildSettingsManager to centrally manage guild settings 2020-06-19 04:10:26 +02:00
83dc2c8e49
Attempt to improve code quality with a fearless refactor
- Completely refactor Program.cs
- Split Handlers into separate files
- Split up the command handler into multiple functions
2020-06-19 03:34:37 +02:00
0898e9b6bd
Add the timeout in !roll back 2020-06-14 17:27:07 +02:00
8018d5e750
Allow configuration to be passed as environment variables 2020-06-01 15:22:41 +02:00
3108a68407
Dependency Upgrades 2020-06-01 02:16:29 +02:00
ff968a490f
Cleanup some dead code and database models 2020-06-01 01:13:45 +02:00
520633c590
Remove all redis leftovers 2020-06-01 01:02:36 +02:00
46fee88f03
Add a migration script for role listeners 2020-06-01 00:52:56 +02:00
33b17b373f
Remove all dependencies on redis 2020-05-30 17:02:17 +02:00
2e501008df
Remove !checkem 2020-05-21 15:55:04 +02:00
5cf1248bf0
Add !quote stats (v1) 2020-05-11 23:44:15 +02:00
ee548390a5
Add Prometheus with 1 metric 2020-04-17 23:48:50 +02:00
f12bdcf4cd
Translate the ship command 2020-04-04 23:05:18 +02:00
3568b61f38
Use the new Csharp 8 features (pattern matching and using assignments) and cleanup some insignificant resparper complaints 2020-02-08 15:58:17 +01:00
21f813d342
Remove redundant code 2020-02-08 15:42:42 +01:00
ac43d087b1
Add the !cookie alias and allow yaml alliases in the translations file 2019-07-21 13:04:41 +02:00
8fadff4092
Cookies timeout is now at midnight instead of every 24h 2019-06-04 23:00:16 +02:00
aef50aa2de
Revert "Use SortedDictionary for Highscores instead of a simple Dictionary"
This reverts commit 4833ccd6
2019-05-12 17:57:03 +02:00
4833ccd65a
Use SortedDictionary for Highscores instead of a simple Dictionary 2019-05-12 17:29:52 +02:00
5109cc03a4
Translate rank command 2019-05-12 16:38:43 +02:00
53f894676c
Revert back to using strings in stead of arrays in the translations 2019-05-12 15:49:00 +02:00
e0e76d7c27
Use YAML for translations 2019-05-12 15:40:28 +02:00
e5742165d1
Parially translate quote 2019-05-12 15:29:22 +02:00
c6271cbaa0
Remove AudioUtils 2019-05-12 13:48:37 +02:00
68a62ab4ec
Add translations for the role command 2019-05-12 13:47:15 +02:00
4b67bb51d1
Reflect cookies command change in translations 2019-05-12 12:31:31 +02:00
495288b887
Pass full translation dictionary to TranslationGuildContext and decide there whether to use singular or plural 2019-05-12 01:07:22 +02:00
b309f155be
Make GetDict private in the TranslationHandler 2019-05-12 00:56:22 +02:00
8effc42f92
Rewrite huge parts of the localization class to support plurals and localized date time formating, also created a TranslationGuildContext class for use in commands 2019-05-12 00:17:34 +02:00
4143180b42
Add a better random number generator 2019-05-11 01:18:22 +02:00
fe08eee049
Let users eat their cookies 2019-05-10 22:42:53 +02:00
fd75fef973
Add the ability for users to give cookies away 2019-05-10 22:30:48 +02:00
ba4de946dc
Add translations for cookies/guetzli 2019-05-10 22:06:58 +02:00
d3038b90a8
Add Cookies to the highscore 2019-05-10 21:37:52 +02:00
d761e0bf10
Add some dabbing 2019-05-01 18:22:44 +02:00
1e98b44cb7
Add Attribute to disable commands in DMs 2019-03-17 18:32:56 +01:00
c1ff11ca34
Fix bug in TranslationsHandler where language lookup would fail if user messaged the bot directly 2019-03-03 21:01:47 -05:00
a1e0c35dd4
Upgrade to DotNet Core 2.2 2019-03-03 20:27:50 -05:00
3a6dd8ea10
Add Sentry Release Reporting (attempt 2) 2019-03-02 02:06:46 -05:00
2b90358ca5
Remove Bugsnag 2019-03-02 00:50:54 -05:00
2c6b61b7e6
Add parameter to enable db logging, disabled by default 2019-01-27 22:09:02 +01:00
863fcd5e9d
Add bugsnag 2018-09-11 00:13:54 +02:00
99245b9ead
Refactor !rank, add HighscoreManager and add /v1/highscore to the api 2018-09-05 22:55:45 +02:00
d4c0899ba9
Fix dict lookup in globalSettings.cs 2018-09-02 23:59:26 +02:00
0d8c82f8aa
Add Caching to GlobalSettings 2018-09-02 22:42:13 +02:00
5a4e710ef9
NRE fixes in simpleMessageConverter, !urban and errorHandler 2018-09-02 21:58:16 +02:00
0e06e85447
Change the discord.net release branch 2018-08-29 22:39:35 +02:00
74619a4434
Solve casting issue 2018-08-26 17:54:26 +02:00
954de7f8db
Revert "Updates to language handler"
This reverts commit 5b56c18
2018-08-25 23:27:44 +02:00