Commit graph

361 commits

Author SHA1 Message Date
f12bdcf4cd
Translate the ship command 2020-04-04 23:05:18 +02:00
3bd7274d68
Remove some unnecessary text from the dice command 2020-04-04 21:21:15 +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
dd9cf3c5d7
Upgrade to dotnet core 3.1 2020-02-08 15:32:58 +01:00
20c75019f9
Upgrade to dotnet core 3 and update dependencies 2019-10-26 21:57:50 +02:00
8dd914e012
Properly log errors when adding a role emoji 2019-10-11 01:08:59 +02:00
b7b4a600cd
Fix message when a role has been added to the whitelist 2019-10-11 00:55:55 +02:00
19df65fc76
Fix out of bounds error in the urban dict. command 2019-09-19 21:27:34 +02:00
309f06370b
Cut urban dictionary word definitions at the 1800 character mark 2019-09-19 13:42:48 +02:00
f1387f824e
Remove the google command 2019-09-19 13:40:02 +02:00
143722eccf
Stop using redis for counting messages 2019-08-05 09:18:16 +02:00
1bfd7c7a12
Ignore the discord bots server aswell 2019-08-05 09:14:58 +02:00
7a250f6642
Ignore commands on certain serves 2019-07-30 00:42:08 +02: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
288c976674 rename bdcc to bdcb 2019-05-28 20:32:15 +02:00
ced287e492
Allow a server admin to specify a channel for the welcome message 2019-05-21 20:50:50 +02:00
8822e65e6a
Upgrade Discord.net to V2.1 2019-05-21 19:42:04 +02:00
57698c8ce6
Fix mtg issue and update json.net 2019-05-16 22:40:11 +02:00
8f861ee0bc
overload owner refreshuser with a user-id as parameter 2019-05-16 22:17:33 +02:00
e4fd828a13
Make the command documentation slightly more consistent across most all commands 2019-05-16 22:10:56 +02:00
03343918b0
Add a refresh user command to the owner commands 2019-05-16 22:01:35 +02:00
0e1084ccad
Remove Database migration scripts 2019-05-16 22:00:28 +02:00
cf5cb2ea86
Reformat bdcc 2019-05-16 21:54:13 +02:00
761ed7302c
Wrap bdcc in a try catch block 2019-05-15 22:18:02 +02:00
5f3d7f8a73
Add bdcc (Benedict Cumberbatch Name Generator) 2019-05-15 21:41:29 +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
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