Commit graph

339 commits

Author SHA1 Message Date
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
177942f7fe
Save quotes to the database after adding them 2018-05-09 02:12:58 +02:00
510b030fec
Begining of implementing the entity framework 2018-05-09 01:21:39 +02:00
83f3c61661
Log errors as info when logging to sumologic 2018-05-08 00:22:14 +02:00
d671817b0d
Make constants static and use non buffered sumologic client 2018-05-06 23:28:44 +02:00
4d39850373
A dice can now have 144 sides instead of 120 2018-05-06 23:09:48 +02:00
59ee6b289a
Include git sha in binary 2018-05-06 03:24:09 +02:00
7238e7177d
Bug fixes in !quote 2018-05-06 02:43:23 +02:00
7eb62cb267
Serialize LogSource as string instead of numerical representation 2018-05-06 02:05:52 +02:00
fe5e2cb80f
Create Enum for exit codes 2018-05-06 02:00:45 +02:00
2b85caeb29
Use LogSource Enum for logger and improve logging messages 2018-05-06 01:47:13 +02:00
0fe273151c
Use Owner Attribute instead of manual inline checking 2018-05-06 00:59:06 +02:00
49392703f2
Bump version to 3.7 2018-05-04 23:34:47 +02:00
7958c87de5
Fix every other command that was not working 2018-05-04 01:14:43 +02:00
0b7303d576
fix !google 2018-05-04 00:59:49 +02:00
290b85fdb6
Fix !changelog, fix bug in logger and typo in !mod namehistory 2018-05-04 00:55:32 +02:00
8599c815d7
Add audio stuff back 2018-05-04 00:54:01 +02:00
0828130ae8
Fixes 2018-05-03 21:20:49 +02:00
e3adf55742
Refaction all files into component based folders 2018-05-03 00:56:06 +02:00
55e152f4aa
Update Readme and add token parameter 2018-05-02 23:33:16 +02:00
2701f641cf
Add commandline parser 2018-05-02 20:19:11 +02:00
d3fcfc8a5c
Replace Serilog with NLog 2018-05-01 22:58:02 +02:00
ec084a124b
Only format as json when logging to sumologic 2018-05-01 21:07:27 +02:00
f3156176dd
More explicit logging configuration 2018-05-01 16:50:48 +02:00
fa5797cd22
use newtonsoft in logger 2018-05-01 02:41:54 +02:00
276e9bfe8e
add null checking in !urban 2018-05-01 00:19:03 +02:00
cdb104cacc
Resharper suggestions 2018-04-30 23:44:19 +02:00
b81284bfe7
Add !chuck and !dad 2018-04-28 19:27:41 +02:00
b97fca787c
Ability to change wikipedia instance and make !wiki nicer 2018-04-28 17:38:45 +02:00
f5fd9ba017
Bug fixes in !wiki and errorHandler 2018-04-28 02:46:30 +02:00
4548c6083a
Dependency updates and mtg color fixes 2018-04-28 01:28:48 +02:00
846c928f5f
Add wikipedia api client, add wikipedia command, show errors in chat when debugging 2018-04-28 01:01:48 +02:00
f4ced55d15
Disable voice features 2018-04-04 01:41:37 +02:00
8974d6df7e
Add in some foxes aswell 2018-03-28 22:14:07 +02:00
3f02f90d70
Enable cat command again 2018-03-28 21:45:29 +02:00
f127e0c02b
Disable !cat 2018-03-28 21:29:42 +02:00
6bc6fb69af
Now with 100% more pinguins 2018-03-28 21:28:16 +02:00
75cbcfff76
Add a check to help 2018-03-02 23:35:14 +01:00
440f3a97c2
Revive ping pong 2018-03-02 23:05:14 +01:00
8189d78cea
Optimize dictionary in mtgmanaconverter 2018-02-20 16:26:56 +01:00
e158e2196f
Revert SimpleContextConverter 2018-02-20 09:34:26 +01:00
a616d42543
Add colorless mana to mtg mana converter 2018-02-19 22:55:22 +01:00
4c1cdc3612
Merge Rolebot into Geekbot 2018-02-19 22:31:40 +01:00
3e859e8533
Add real mana icons to mtg command 2018-02-19 21:35:45 +01:00
0498998630
Add more things to slap 2018-02-16 08:36:26 +01:00
1c88dea796
Don't error in rank when no entries are found or bot is not included 2018-02-15 00:07:11 +01:00
d40d89506e
Upgrade UTF8JSON to 1.3.7 2018-02-14 23:40:44 +01:00
acc8947782
Make random more random than the google bot 2018-02-14 23:01:28 +01:00
cabf942362
unpin 2018-02-14 11:37:54 +01:00
03ed80d3d4
Log command usage 2018-02-13 23:42:31 +01:00
d750513bc8
Merge branch 'master' of ssh://git.boerlage.me:31022/open/Geekbot.net 2018-02-13 22:29:58 +01:00
6fd36e0bb2
Show mana costs as emojis in mtg 2018-02-13 22:29:37 +01:00
46696549d7
Check correct string to ignore errors *facepalm* 2018-02-04 17:36:55 +01:00
ff1619a62f
Ignore error 50007 and 50013 2018-02-04 14:47:10 +01:00
91d178049b
Error when removing non-existing role from whitelist 2018-02-03 15:14:11 +01:00
ffaedfa962
Add space to emojis in emojihandler 2018-01-29 23:27:28 +01:00
a65f9d2963
Show removed quote as conformation 2018-01-21 17:17:55 +01:00
815b7d6163
Add posibility to remove quotes 2018-01-21 16:01:43 +01:00
751c164c82
Log everything to sumologic 2018-01-20 03:30:42 +01:00
07ca1e1548
Replace all ocurences of the Serilog with GeekbotLogger 2018-01-20 01:38:49 +01:00
82b2b4c815
Groundwork for sumologic 2018-01-20 01:04:53 +01:00
efadbe9a21
Add slap counter 2018-01-19 23:46:11 +01:00
fdb38192fe
Add LevelCalc unit test 2018-01-19 01:17:05 +01:00
11df9d7955
Add Simple Unit Tests 2018-01-19 00:59:21 +01:00
aa971d04f5
adding more stuff to !slap 2018-01-18 23:40:38 +01:00
2db4db2451
Add !slap 2018-01-18 22:51:29 +01:00
0adb4b99f2 Remove !trump command 2018-01-18 14:40:06 +00:00
828980c650
Don't show geekbot in rank lists 2018-01-15 20:01:13 +01:00
b6d7e76bdb
Don't log to console if running from folder containing 'deploy' in name 2018-01-15 19:31:49 +01:00
ceff1cc3b9
Finish experimental version of voice utils 2018-01-11 01:16:30 +01:00
1ee627a915
Groundwork for playing youtube videos to voice 2018-01-11 00:16:04 +01:00
a52982cbcd
Add trump quotes (!trump) 2018-01-08 00:55:01 +01:00
a1de3538cd
Add !gdq command 2018-01-07 23:26:20 +01:00
19e763c2e2
Create actual google command that leaverages the google knowledge graph 2017-12-29 03:26:05 +01:00
813698394a
Code Cleanup, thanks resharper 2017-12-29 02:39:34 +01:00
00035ac4b1
Prevent people from guessing the same thing twice with !roll 2017-12-29 01:19:20 +01:00
08b36c1850
Add Rolls to !rank 2017-12-29 01:03:38 +01:00
cb9c7c97dc
!rank bugfix 2017-12-28 22:58:29 +01:00
d8b34f867b
Extend !rank command with karma and list length (it got super hacky) 2017-12-28 22:38:49 +01:00
038a15aa24
Add Magic the Gathering Command 2017-12-24 14:54:35 +01:00
98fedb4517
Limit dices to 120 sides and 60 total 2017-12-24 13:11:16 +01:00
53debf9c9d
Add httpErrorHandler 2017-11-27 22:09:02 +01:00
c4f10f3f7b
Only report command errors to sentry and other minor tweaks 2017-11-27 21:57:26 +01:00
fb169738fe
Yet another bugfix in !urban 2017-11-16 17:33:07 +01:00
14fcf74aea
Translate common commands and fix bug in !urban 2017-11-16 17:19:43 +01:00
119ce579b7
Update Version number to 3.5 and remove database migration script 2017-11-16 10:27:59 +01:00
f0ba7bb9fc
Make Translations easier to get 2017-11-16 00:51:36 +01:00
7584b09d35
Groudwork for multilanguage 2017-11-15 01:08:20 +01:00
6cef559601
Add json information to command error handler 2017-11-14 23:08:36 +01:00
b45370cf9e
!changelog command, slightly improved info command, foundation for voice features 2017-11-11 19:31:31 +01:00
12919acf95
Bugfix in !urban and karma bugfix in !stats 2017-11-11 17:33:50 +01:00
2ef08ae924
Take most relevant urban dict definition 2017-11-11 17:04:03 +01:00
98a0a302df
Cat and dog in embeds, avatar getter gets 1024px instead of 128, urban shows tags 2017-11-11 16:44:47 +01:00
45f289d071
Urban Dictionary command, small improvents in message handler, emojis are in embeds now, avatar command 2017-11-11 16:20:26 +01:00
667d928ca4
Don't download users on startup 2017-11-10 21:37:39 +01:00
38eb9f02a1
Fix Initial Setup issues 2017-11-10 21:36:41 +01:00
0e217b8db1
Bug fixes in polls, emoji stuff and quotes 2017-11-08 19:19:43 +01:00
f96954a7e1
Finalize poll command and add emojify command (the fuck am i doing with my life) 2017-11-08 01:30:50 +01:00
ea76629d6e
WIP: poll command 2017-11-06 23:55:28 +01:00
9aa2b17d1c
Fix kick command 2017-10-30 20:43:07 +01:00
3d93fe1a7a
making geekbot avocado free 2017-10-30 19:31:56 +01:00
e96d469c5a
Add avocado reaction to all messages by user 148542729658302464 2017-10-30 18:51:57 +01:00
001b937415
Add kick command 2017-10-30 18:35:08 +01:00
7167ea3ebc
Dividing admincmd into owner, admin and mod commands, add username history command 2017-10-27 00:18:58 +02:00
14dfbca389
Adding username history to user repo 2017-10-26 23:31:51 +02:00
9efac29956
Fixed code inconsistencies and adding support for logging to sentryio 2017-10-26 00:55:04 +02:00
2e083bc188
Fixing the highscore bug (hopefully) 2017-10-25 19:33:22 +02:00
1f48d0387b
Making the level calculator more efficient 2017-10-25 00:59:18 +02:00
73f29a5cf1
Make it impossible to add roles with evaluated permissions to self service (because people are stupid enough to do so apparently) 2017-10-19 23:55:09 +02:00
75c699e25b
Make modchannel command easier and some random stuff 2017-10-19 22:01:42 +02:00
2eca82e899
Add role self service commands 2017-10-19 21:43:37 +02:00
60fbe3d3fa
Super basic overwatch command 2017-10-13 23:40:39 +02:00
9632c5c1b4
Merge branch 'master' of github.com:pizzaandcoffee/Geekbot.net 2017-10-12 16:34:45 +02:00
58ba2980f9
Command Categories (more or less) 2017-10-12 16:34:10 +02:00
b0a61bc63e
Only reply with pong when user writes ping with space or just ping (Issue #10) 2017-10-10 20:27:39 +02:00
f30c136785
Adding random images of squirrels, croissants, pumpkins and turtles, combined all in mediaprovider class 2017-10-05 21:42:27 +02:00
0c9a2a5619
Adding battletag saving, settings in user repo, cors, help now reffers to website 2017-10-04 01:35:25 +02:00
ef6fd15116
Addin Pokedex Command 2017-10-03 21:47:09 +02:00
c48a3b5d84
Stop people from saving their own quotes 2017-10-03 18:46:14 +02:00
09dbb6b14d
Splitting and renaming userinfo.cs, adding commands endpoint to api, minor refactor in other places 2017-10-03 00:22:26 +02:00
92015d8880
Adding Initial API support, updating readme 2017-10-02 21:57:48 +02:00
6732506dae
Adding mal integration 2017-10-01 23:41:25 +02:00
8d08b87d09
Ability to notify mods when user left or deleted message 2017-09-30 17:26:24 +02:00
6dcfeabfbd
UserRepository, Handler now have own class, uptime in !info 2017-09-30 01:38:10 +02:00
a549950ad9
Async Stuff, !rank doesn't mention anymore, setup finalizer, minor tweaks 2017-09-29 20:30:00 +02:00
b1f4e8ad93
Updating server stats embed to be uniform with user stats 2017-09-29 01:32:15 +02:00
98a13c9069
Highscores Bugfix, small stats changes 2017-09-29 01:23:52 +02:00
9f4e23ff20
Quotes now have image support and a new look 2017-09-29 00:18:31 +02:00
0b680d7fb2
new Quote command and bugfixes 2017-09-28 18:55:57 +02:00
a4cbc03202
Bugfix in rank, updated migration script 2017-09-27 23:26:32 +02:00
29c181ddda
Reworked Database, using hashtables now (mostly), ability to change game, several small improvents 2017-09-27 22:48:09 +02:00
7308e5257a
Moved store providers to geekbot.net.lib.media 2017-09-27 17:18:31 +02:00
2a12d30d8f
Add More logging Statements 2017-09-26 22:14:53 +02:00
79e52774b8
Add Serilog 2017-09-26 15:49:25 +02:00
a7e3bb957f
Update dice to take multiple dices and take less space in the chat 2017-09-24 22:45:49 +02:00
16f78ddea4 remove online check 2017-09-19 20:41:28 +02:00
d88e9a6f18 Pandas, rip restsharp, stuff 2017-09-19 20:39:49 +02:00
3a5a0df846
Add google command, small change in dice and help commands 2017-09-19 18:53:59 +02:00
e57b80d4b4 Stats is stats again, dices now have modifiers 2017-09-18 23:31:11 +02:00
8911123b78 Updated Help Command and code update 2017-09-15 22:56:03 +02:00
c82d6ec666 Add Dub, Trips and Quads check to !checkem (please fix if you see this) 2017-09-15 21:10:22 +02:00
1295ed6206 Add Checkem Command 2017-09-15 12:58:49 +02:00
35064cf90b Adding Fortunes 2017-09-15 00:31:13 +02:00
40bbef9cd8 Adding Dice Command 2017-09-15 00:01:00 +02:00
a004ab4290 Small Async fix 2017-09-14 22:20:28 +02:00
7d0b0c4634 Upgraded to dotnet core 2 and small arch restructure 2017-09-14 22:11:19 +02:00
e97ebf86ef Upgrading Dependencies and start restructure 2017-09-14 20:25:46 +02:00
9f9850920e
Bug Fix and more info in rank command 2017-07-31 00:20:37 +02:00
bfca811955
Highscores and cleanup 2017-07-30 23:35:28 +02:00
90299a39ee
User stats now show a percentage of the users message contribution to the server 2017-07-30 16:24:27 +02:00
b70d1e04dc
Karma system now uses embed and less mentioning 2017-07-12 09:52:55 +02:00
9e6773a022 finishing ship command and adding await in choose 2017-05-15 23:38:23 +02:00
6a33bddadb
Adds shipping command 2017-05-15 21:14:38 +02:00
ea59fab28a
Adds choose command 2017-05-15 20:43:50 +02:00
fd7ea886d4 4chan command - the beginning 2017-05-07 22:45:16 +02:00
8703a64556 dog command and namespace fixes 2017-05-06 20:35:31 +02:00
c670bf7ae3 bot now ignores other bots 2017-05-06 01:48:58 +02:00
53550fb12b
Fixing multiple reply bug 2017-04-27 19:50:03 +02:00
68b6312635 disable automatic failover 2017-04-26 14:12:42 +02:00
f46e1b6071 removed youtube api key from the repo 2017-04-25 22:53:44 +02:00
cb8423373a Now recovers from a disconnect 2017-04-25 21:56:09 +02:00
2af916e4d1 True Async and Ping Pong 2017-04-25 20:59:38 +02:00
341de410f1
Random is now even more random 2017-04-25 17:27:11 +02:00
5dd7d343ee more async and bug fix in stats 2017-04-24 21:42:43 +02:00
916181a878 The bot is async again 2017-04-24 21:31:33 +02:00
871b59adae removing BootTasks file 2017-04-23 20:09:48 +02:00
f363f7b4fe TS and Skype suck, correct roll guesses are now being counted 2017-04-22 23:41:15 +02:00
468802d192 Server Stats 2017-04-21 22:51:30 +02:00
9ff2e7cdc0
Fancy Colors in embeds :D 2017-04-19 19:54:29 +02:00
4db152f304
karma commands now have a timeout 2017-04-19 19:23:22 +02:00
6aaf487e94
bot now ignores its own messages 2017-04-18 14:57:42 +02:00
ae9ade51d5
fixing super critical bug, now you can write stuff after hui 2017-04-18 14:49:26 +02:00
f52893e696
ready for prod :D 2017-04-18 14:08:56 +02:00
5f437d74ea
Fixing the redis bug, almost ready for prod 2017-04-18 11:00:38 +02:00
735a4a81d4 Embeds, Cleanup and Improvements to Roll, Userinfo the init process 2017-04-17 23:58:43 +02:00
6d5c6f2ea8 Karma, Say, Help 2017-04-17 16:58:48 +02:00
59d0a5e135
youtube, welcome messages and futher code improvements 2017-04-17 12:55:20 +02:00
af9421f2b9
improved welcome message and admin command 2017-04-14 22:18:22 +02:00
1fdbcaa471
Stats Recorder, Redis, welcome on join 2017-04-14 21:36:01 +02:00
3ce207749f
Fuck Singletons 2017-04-13 23:20:05 +02:00
ec5d403597
Code improvements 2017-04-13 13:22:30 +02:00
d3662b9934
8ball and architectural stuff 2017-04-13 00:03:03 +02:00
315526c32b
Geekbot logo and roll command 2017-04-12 22:43:52 +02:00
bb0db1701c
Initial Commit 2017-04-12 21:49:04 +02:00