Commit graph

333 commits

Author SHA1 Message Date
4833ccd65a
Use SortedDictionary for Highscores instead of a simple Dictionary 2019-05-12 17:29:52 +02:00
3e3cbc257e
Fix bug where Enum.Parse would always pass if a number was given as argument in rank 2019-05-12 17:29:07 +02:00
5109cc03a4
Translate rank command 2019-05-12 16:38:43 +02:00
92c2d173eb
make HighscoreManager transient to solve a bug where the information reported would be wrong 2019-05-12 16:15:42 +02:00
5efb146d18
Fix Unit tests 2019-05-12 15:57:58 +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
03d1607d64
Remove Poll command 2019-05-12 13:49:01 +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
a86a33635c
Rename cookie command to cookies 2019-05-12 12:25:42 +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
67add36e51
Remove all in-command usages of GetDict for translations 2019-05-12 00:44:25 +02:00
0f0c0684c6
Convert karma command to use new GuildContext for translations 2019-05-12 00:32:07 +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
efaaf594f0
Make sure that stats works with the inmemory database and add cookies 2019-05-10 21:10:49 +02:00
119f4586c7
Add Some Cookies 2019-05-10 20:51:13 +02:00
38fc6c7f93
Copy dab file... 2019-05-01 18:34:42 +02:00
d761e0bf10
Add some dabbing 2019-05-01 18:22:44 +02:00
99ece47925
Release 4.1.0 2019-03-17 18:38:33 +01:00
de408dbfd9
Apply DM Disable attribute to some commands 2019-03-17 18:33:18 +01:00
1e98b44cb7
Add Attribute to disable commands in DMs 2019-03-17 18:32:56 +01:00
3d493fa531
Add kanye command 2019-03-17 17:52:07 +01:00
7dbb2ab89f
Tell the user if the mal api refuses to answer 2019-03-03 21:14:17 -05: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
f4897f7f2e
Comment out unused code in Poll.cs 2019-03-03 20:39:31 -05:00
dbd36a62d3
Disable Stats Updater when using the InMemory database 2019-03-03 20:38:45 -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
35a4f4a122
Limit MTG Page Size to 1 card 2019-03-02 01:21:42 -05:00
2b90358ca5
Remove Bugsnag 2019-03-02 00:50:54 -05:00
16f70d52ce
Some Upgrades 2019-03-02 00:48:16 -05:00
ff15e21b5a
Upgrade Gatherer Client and fix bug where card legalities could be an empty collection and throwing and exception as a result 2019-03-02 00:32:59 -05:00
aa059b5558
Update Discord.net 2019-03-02 00:12:35 -05:00
4de8447c97
Fix roll command to write successful writes to the database instead of redis 2019-02-13 00:50:31 +01:00
8059f03304
Remove !say completly 2019-01-27 22:33:12 +01:00
2c6b61b7e6
Add parameter to enable db logging, disabled by default 2019-01-27 22:09:02 +01:00
26da438efe
Fix namehistory command 2018-11-29 18:14:41 +01:00
e8546f37f2
Disable the say command 2018-10-30 19:53:50 +09:00
458268bd41
Fix bug in stats where the requestor would always see his own message count 2018-10-08 22:15:07 +02: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
a5c70859a4
Reenable Stats Counting 2018-09-05 21:22:56 +02:00
f0814ba685
Temporally disable message counting 2018-09-05 21:15:46 +02:00
fce6be56e2
Add Message migration script 2018-09-05 21:15:13 +02:00
a8c91c0372
Hide owner commands from command endpoint 2018-09-05 21:13:43 +02:00
6d3fc46e34
Add Callback Endpoint to API 2018-09-02 23:59:41 +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
6a163366ea
Start counting messages in postgres 2018-08-29 23:01:10 +02:00
0e06e85447
Change the discord.net release branch 2018-08-29 22:39:35 +02:00
b0758eb119
Create multiple database contexts instead of one 2018-08-29 21:16:01 +02:00
d1e9992a8c
Add default values to guildsettings model 2018-08-26 18:05:50 +02:00
74619a4434
Solve casting issue 2018-08-26 17:54:26 +02:00
00da991dae
Update !rank error message 2018-08-26 17:39:01 +02:00
707be4abe2
Trying to fix !rank again 2018-08-26 12:33:04 +02:00
cbe88a1721
Fix !rank 2018-08-26 00:31:59 +02:00
954de7f8db
Revert "Updates to language handler"
This reverts commit 5b56c18
2018-08-25 23:27:44 +02:00
e18a512a9b
Update Migration Script 2018-08-25 23:26:46 +02:00
8a62f94e01
Revert !stats us pull message count from redis 2018-08-25 22:40:02 +02:00
5b56c1822f
Updates to language handler 2018-08-25 21:30:33 +02:00
28052a5ba9
Update logsource in redis migration 2018-07-28 19:12:50 +02:00
18b3436d66
add more awaits and update !roll 2018-07-28 16:31:18 +02:00
95618b1f8b
Make errorhandler and languagehandler async, await all database actions 2018-06-13 22:18:57 +02:00
926a632641
Get guilds from existing redis keys instead of the client 2018-06-02 00:16:32 +02:00
8b5e52c8e0
Actually upgrade to dotnet 2.1 2018-06-01 18:10:22 +02:00
f438914c19
Upgrade to dotnet 2.1 2018-05-30 23:54:00 +02:00
80c2bd8500
Lazyload server language setting in translationHandler 2018-05-26 02:55:18 +02:00
35f0a5c8f8
Abstract away redis even more with AlmostRedis.cs 2018-05-26 02:33:45 +02:00
f53258e348
Log errors with stacktrace in migration, skip 10k+ guilds, prevent migration from running twice by accident 2018-05-23 23:50:11 +02:00
9354e5f83e
Change User Model and Add poll model, port !poll but ended up disabling it 2018-05-19 10:49:01 +02:00
74793c8ef7
Dynamically get discord.net version in !info 2018-05-18 00:34:45 +02:00
4e4ef3584e
Upgrade to discord.net 2.0 2018-05-17 22:06:58 +02:00
acb2b25e09
Resharper cleanup and fixes and remove useless asp overhead 2018-05-15 01:18:26 +02:00
e0d6a97dca
make database saves async 2018-05-14 18:57:07 +02:00
8c107de92e
Replace nancy with kestrel 2018-05-14 02:33:49 +02:00
3004b19209
Small tweaks to the web api 2018-05-14 00:41:05 +02:00
4a11ce6207
Add Guild Settings to redis migration 2018-05-13 21:33:48 +02:00
08015c6102
Port !stats, !role, !wiki and !slap, fix messages in rank, add roleselfservicemodel to db 2018-05-13 21:06:41 +02:00
a1b5bd1955
Add more run parameters, remove first launch stuff, store token in globals 2018-05-13 18:47:01 +02:00
bb8aee1eda
Port !owner, !admin, !mod, handlers (partial) and add globals to the db 2018-05-13 17:49:13 +02:00
37ac7f56a8
Remove command categories 2018-05-13 15:55:57 +02:00
3fa4115502
Improve migration Script 2018-05-13 14:14:50 +02:00
32ae82ca8d
Add simple migration script 2018-05-11 00:36:29 +02:00
9ecc224ae1
Add ef cli tools 2018-05-10 20:12:31 +02:00
b54b7cd786
port !rank 2018-05-10 17:56:43 +02:00
54bcd541d3
Fix run params 2018-05-10 03:29:11 +02:00
5117e7609f
Port !karma 2018-05-10 02:33:10 +02:00
15034d63a3
Port UserRepository and remove OW stuff 2018-05-10 02:00:26 +02:00
d2f31d0730
Use Postgresql, add db run params, npgsql logging adapter and empty models 2018-05-10 00:00:51 +02:00
3425896c0b
Add database Initializer 2018-05-09 18:51:53 +02:00