Commit graph

527 commits

Author SHA1 Message Date
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
3813290f89
Simplefy version number during in CI pipeline 2020-08-08 20:55:14 +02:00
9003d6249e
Add !mmr to get League of Legends MMR numbers 2020-07-28 22:14:59 +02:00
913b4a5f10
Change the HttpAbstractions so that the caller can provide its own HttpClient instead of creating parameters for every HttpClient Option 2020-07-28 22:14:22 +02:00
4659f793f5
Add !lmgtfy 2020-07-22 14:32:47 +02:00
fff2324232
Fix build warnings in MediaProvider.cs and TranslationHandler.cs 2020-07-22 14:17:08 +02:00
77e912501d
Upgrade to .NET5 preview 7 2020-07-22 14:09:26 +02:00
4cd7ac1d79
Fix broken DM Channel support 2020-07-15 17:10:50 +02:00
5e9cb8a4c1
Make main async 2020-07-15 03:11:36 +02:00
efed2f7120
Add the !corona command 2020-07-15 03:09:43 +02:00
ba0d116f3e
Add an abstraction for http calls 2020-07-15 02:52:13 +02:00
0589b8e91b
Update EntityFrameworkCore and microsoft.extensions.* to .net5 preview 6 2020-07-10 22:32:42 +02:00
c94d73736d
Use greetings.dev instead of hardcoded greetings 2020-06-30 17:54:01 +02:00
580a514ce5
Rework the media provider 2020-06-25 15:12:41 +02:00
cc22774729
Make sure a die can actually land on its highest number 2020-06-21 21:12:34 +02:00
859db4ebdd
Add some unit tests for the dice parser 2020-06-21 15:49:18 +02:00
acd1cee16c
Reformat !dice help 2020-06-21 03:43:11 +02:00
6d44960867
Rewrite the !dice command from scratch 2020-06-21 03:33:05 +02:00
d7e313c9fa
Update readme 2020-06-20 03:43:02 +02:00
279a8975c9
Expose web api on port 12995 again 2020-06-20 03:42:41 +02:00
194bfd3d3b
remove traces of the docker branch from the ci file 2020-06-20 03:27:08 +02:00
8f41999015
Expose the web api directly on port 80 2020-06-20 03:25:28 +02:00
619f63067c
Remove the ability the lookup username history for moderators 2020-06-20 03:23:27 +02:00
56f788878a
Fix Sumologic environment variable in docker 2020-06-20 03:17:17 +02:00
d9f8e9a80e
Add redshift (and DigitalOcean Managed DB) compatibility and start using a string building to create the sql connection string 2020-06-20 03:05:51 +02:00
a4b914d576
Use Ansible for deployment 2020-06-20 02:51:31 +02:00
3213e10b88
Add Sumologic and Sentry to the run parameters 2020-06-20 00:20:00 +02:00
f23b8099f1
Try to create a docker image 2020-06-19 22:20:05 +02:00
e0f17d00ea
Upgrade to .NET 5 2020-06-19 22:19:26 +02:00
a0b1ec44f6
Make it possible to connect to the database with ssl enabled 2020-06-19 21:46:19 +02:00
4655424fb0
Remove prometheus-net from the dependencies 2020-06-19 12:40:17 +02:00
9cc944fcc1
Use a single message for !mtg and show a searching message when the command starts executing 2020-06-19 12:28:22 +02:00
e564e80849
Copy every file in storage by default instead of listing every single one 2020-06-19 12:15:17 +02:00
76bb645394
Inline MTG Emoji converter 2020-06-19 12:08:28 +02:00
1ea851be22
Release Geekbot 4.2 2020-06-19 04:13:26 +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