Commit Graph
106 Commits
Author SHA1 Message Date
Kwoth fa259384f1 Possible fix for the windows release, updated packages 2022-05-14 04:27:16 +02:00
Kwoth cb865d5012 Updated packages 2022-05-12 23:56:12 +02:00
Kwoth b009438e0e Fixed .stock command, closes #356 2022-05-11 12:36:50 +02:00
Kwoth 4b5d27d963 Fixed an issue which caused onmessage handlers to not block further execution properly, causing execution of both custom reactions and commands, ref #357 2022-05-11 11:51:01 +02:00
Kwoth 44478e0f47 Upped version to 4.1.4 2022-05-06 19:15:29 +02:00
Kwoth 9a96ef76ba Reverted smarttext to newtonsoft to relax the allowed json rules. Upped version to 4.1.3 2022-05-05 05:00:47 +02:00
Kwoth 5d2d74b92a Full support for embed arrays in .greet/.bye, .say and other commands which use embeds
- Website to create them is live at eb2.nadeko.bot (it will soon be replacing eb.nadeko.bot)
- Embed arrays don't have a plainText property (it's renamed to 'content')
- Embed arrays use color hex values instead of an integer
- Old embed format will still work
- There shouldn't be any breaking changes
2022-04-26 02:33:19 +02:00
Kwoth f6a53b96c7 Upped version to 4.1.2 2022-04-16 17:27:17 +02:00
Kwoth 0b64df95ef Fixed an issue with publish not having required dlls 2022-04-16 17:04:10 +02:00
Kwoth 7cb15f5278 Medusa System Added
Read about the medusa system [here](https://nadekobot.readthedocs.io/en/latest/medusa/creating-a-medusa/)
2022-04-16 12:44:46 +00:00
Kwoth e23233ee06 WIP db provider support for Mysql and Postgres 2022-04-11 10:41:26 +00:00
Kwoth ad0a9ceb9d Disabled linq2db query cache to see if it helps with out of memory issues 2022-03-24 02:46:27 +01:00
Kwoth bed3347cd9 Upped version to 4.0.6, Updated changelog 2022-03-21 20:05:34 +01:00
Kwoth 59cea6ee38 Version upped to 4.0.5, updated changelog 2022-03-21 16:00:05 +01:00
Kwoth b7d1fd1b47 Many IDisposable fixes. GlobalNadeko won't have file watchers for creds. Wallet simplified 2022-03-21 15:33:18 +01:00
Kwoth 4cf3bdb53a Removed unneeded httpclient for searchimages and some minor cleanup 2022-03-21 13:33:43 +01:00
Kwoth aab5bc9744 Added long delay during graceful coordinator restart, and some logging 2022-03-21 13:25:48 +01:00
Hokuto Chen 363ef42923 incorrect bot version (we are on 4.0.4)? 2022-03-12 20:55:03 +00:00
Kwoth c4efe2965b Upped version to 4.0.3 2022-03-04 01:28:14 +01:00
Kwoth 03367c5ec4 Added usePrivilegedIntents to creds.yml as an option for users who don't have them enabled
Added an explanation on how to enable intents if the bot doesn't have them and fails to login
2022-03-03 02:31:32 +01:00
Kwoth f5a706f57a Re-added old creds -> creds.yml migration to avoid massive complications in the windows updater and general update process 2022-02-26 07:57:06 +01:00
Kwoth 4b722c815f Updated creds_example.yml, fixed some async compilation warnings 2022-02-15 17:08:35 +01:00
Kwoth 7ed1b13e85 - Re-added .qap / .queueautoplay
- Several strings and commands related to music have been changed
  - Changed .ms / .movesong to .tm / .trackmove but kept old aliases
  - Changed ~~song~~ -> 	rack throughout music module strings
- Updated CHANGELOG.md
2022-02-13 15:49:48 +01:00
Kwoth 1622eb05c9 Removed some useless code 2022-02-07 17:52:57 +01:00
Kwoth 0008eabdd2 .stock now shows a candlestick chart with a sparkline on top of it. Reorganized stock code slightly 2022-02-07 17:50:25 +01:00
Kwoth 73555ff70e Removed credentials.json -> creds.yml migration 2022-02-04 11:01:13 +01:00
Kwoth eda38e64d1 Added many more braces for multiline if's, Improved .crypto command quite a bit and applied locale-specific format 2022-02-04 06:00:17 +01:00
Kwoth 41653a317b More PeriodicTimer's instead of System.Threading.Timers 2022-02-02 06:28:33 +01:00
Kwoth ffa2c3f119 Updated editorconfig to (mostly?) require braces around if/else statements, and applied the new formatting rules 2022-02-02 01:44:45 +01:00
Kwoth b22cd5a81e A few more throwaway variable syntax updated 2022-02-01 13:54:25 +01:00
Kwoth 0f36242597 Initial implementation of trovo.live notifications support for .stadd 2022-01-31 00:47:37 +01:00
Kwoth 0ef2da6f10 Reworked currency service. Some features are missing 2022-01-20 13:22:38 +01:00
Kwoth c58ae9fc13 Added safesearch to .img when using google (thx to ZeroNyan) 2022-01-10 13:32:18 +01:00
Kwoth 2ce3262d59 Fixed around 140 wrong namings and other refactorings which were marked as warnings 2022-01-08 11:51:41 +01:00
Kwoth 6c39044435 - Using PeriodicTimer in a few places instead of Timer
- Some small refactorings
- Fixed reference to non-existent command in bot.yml
2022-01-05 08:00:25 +01:00
Kwoth 3aa6a54b6e - Renamed CustomReaction model to NadekoExpression
- Used structured logging everywhere
2022-01-04 07:35:55 +01:00
Kwoth 9b4eb21321 Using pattern matching for nulls where applicable, discarded unused lambda parameters, cleaned up some classes. Unignored ServerLog commands which was mistakenly ignored due to a .gitignore rule 2022-01-01 08:44:51 +01:00
Kwoth 82000c97a4 Applied codestyle to all .cs files 2021-12-29 06:07:16 +01:00
Kwoth 723447c7d4 - Updated editorconfig rules to hopefully look a bit nicer.
- Removed configureawait(false) from everywhere as it doesnt' do anything in a console app and just makes the code look ugly
- Started using .WhenAll extension instead of Task.WhenAll to make it look nicer when chaining methods
2021-12-28 21:14:40 +01:00
Kwoth 59f5056035 NadekoBot.Extensions should now be fully annotated with nullable reference types as well as many classes from NadekoBot.Common 2021-12-28 10:44:00 +01:00
Kwoth 1b0392dfab Added and applied styles for private readonly fields, private fields to Extensions and Common folders.
- Some renamings and code cleanups
- Chained method calls, binary expressions and binary patterns will now break into newlines
- Type param constraints and base constructor calls will be on the new line
2021-12-27 03:46:30 +01:00
Kwoth d5fd6aae8e - More code cleanup and codestyle updates
- Fixed some possible nullref exceptions
- Methods signatures now have up to 3 parameters before breakaing down each parameter in a separate line
- Method invocations have the same rule, except the first parameter will be in the same line as the invocation to prevent some ugliness when passing lambas as arguments
- Applied many more codestyles
- Extensions folder fully reformatted
2021-12-26 17:28:39 +01:00
Kwoth b85ba177cd Using declarations and other code reformats 2021-12-26 03:22:45 +01:00
Kwoth d18f9429c6 Kotz's editorconfig styles slightly modified. Target typed new usage. Brackets in expressions used for clarity. 2021-12-26 02:52:09 +01:00
Kwoth da849f7c7b global using NadekoBot.Extensions 2021-12-23 08:04:00 +07:00
Kwoth 93b8bca018 Switch to discord.net 3.0.0 2021-12-23 08:02:23 +07:00
Kwoth 0b8c3b3f2b Using humanizer to deal with time and string trimming in some cases. Removed unused methods. Currency output format improvement (will use guild locale now for some commands) 2021-12-21 05:16:53 +01:00
Kwoth c66e491ce9 Implicit usings and more global usings 2021-12-21 02:36:47 +01:00
Kwoth 9223d78849 Removed redundant parenthesis 2021-12-20 03:54:30 +01:00
Kwoth da2ee0c158 await usings and minor cleanup 2021-12-20 03:02:02 +01:00