Commit Graph
100 Commits
Author SHA1 Message Date
Kwoth e0e044278e Fixed an issue with streams not showing online or offline status 2022-02-17 15:23:10 +01:00
Kwoth 60e0729988 Fixed an issue where the trovo stream was showing as picarto 2022-02-16 12:25:04 +01:00
Kwoth 8c1c75c246 Stream notification support for trovo.live finalized 2022-02-16 01:47:29 +01:00
Kwoth 4b722c815f Updated creds_example.yml, fixed some async compilation warnings 2022-02-15 17:08:35 +01:00
Kwoth e6e802b563 - Migrated to twitch helix api for stream notifications
- Added 2 new fields to creds.yml -> TwitchClientId and TwitchClientSecret
- Users now have to provide them in order to use twitch stream notifications as Twitch is shutting down old api on 18th of February 2022
- Possibly fixed some issues with streams randomly getting cleared
- Added an incomplete trovo stream notification provider
2022-02-15 17:03:31 +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 6895c8a2a4 Updated changelog, updated packages 2022-02-12 00:55:37 +01:00
Kwoth f250cac8d5 - Fixed .antialt disable confirmation embed color
- Fixed weighted warning punishment
2022-02-09 22:58:28 +01:00
Kwoth 09800cb8a3 Fixed Dockerfile but commented out docker stage in ci temporarily 2022-02-09 22:49:27 +01:00
Kwoth 0c1ccfacf8 Updated changelog 2022-02-09 22:26:51 +01:00
Kwoth d853151053 Updated .gitlab-ci and Dockerfile 2022-02-09 22:25:34 +01:00
Kwoth 94e594ae8b Updated packages in coordinator and tests projects 2022-02-08 20:18:36 +01:00
Kwoth 46453f5f08 Updated some packages 2022-02-08 20:17:46 +01:00
Kwoth e194155689 Don't cache any messages on public nadeko 2022-02-08 20:17:17 +01:00
Kwoth dd5bc0eeda .rategirl will now use embed imageurl instead of file attachment (thx sylveon) 2022-02-08 17:25:29 +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 22eabff276 Added search for .stock, it now supports company name search 2022-02-07 08:13:55 +01:00
Kwoth d42036845a Added .stock alias 2022-02-06 17:51:53 +01:00
Kwoth 3d1f9b8b75 Added a .stock command 2022-02-06 17:43:19 +01:00
Kwoth 73555ff70e Removed credentials.json -> creds.yml migration 2022-02-04 11:01:13 +01:00
Kwoth a8960e8769 - Migration from 2.x -> v4 will not be possible. Migration from 2.x -> v3 -> v4 will be the only way to update
- Removed migration docs and references to v3
2022-02-04 10:46:30 +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 f77f2f433f - Most if not all gambling commands should now use locale-specific currency format
- Enabled preview language features
2022-02-03 13:51:50 +01:00
Kwoth eecccc8100 - Added currency.transactionsLifetime which controls auto-deletion of currency transactions from the database
- Updated changelog
2022-02-02 13:53:14 +01:00
Kwoth 15ee3dd638 - Added waifu price decay functionality
- Waifu prices changed to long, supporting much higher prices than before
- Fixed .yml comment indentation in some cases
- Updated changelog
2022-02-02 11:25:22 +01:00
Kwoth 41653a317b More PeriodicTimer's instead of System.Threading.Timers 2022-02-02 06:28:33 +01:00
Kwoth b4a493971a Fixed a CommandAttributeGenerator crash 2022-02-02 05:40:25 +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 7ee51332b0 Some refactorings - Updated editorconfig, removed some unused variables and parameters, updated some old thorwaway variable code, some general cleanup 2022-02-01 13:51:07 +01:00
Kwoth d31cfcc5a8 - Updated changelog
- Updated all projects to .net6
- Added some exception handling to the cmd source generator
2022-02-01 08:52:40 +01:00
Kwoth 2d90ecaa51 .crypto will now show CoinMarketCap rank. Small refactor 2022-01-31 11:50:49 +01:00
Kwoth 3e0bbd8ada Small refactoring. Finally made use of the type parameter in NadekoTypeReader<T> class 2022-01-31 05:45:51 +01:00
Kwoth 0f36242597 Initial implementation of trovo.live notifications support for .stadd 2022-01-31 00:47:37 +01:00
Kwoth cd812304f7 Updated changelog 2022-01-25 05:57:19 +01:00
Kwoth 3910dc7499 - Improved .curtrs (It will now have a lot more useful data in the database, show Tx ids, and be partially localized)
- Added .curtr command which lets you see full information about one of your own transactions with the specified id
- Added .WithAuthor(IUser) extension for embedbuilder
2022-01-25 05:55:38 +01:00
Kwoth 81533b7f69 Updated changelog 2022-01-24 02:41:43 +01:00
Kwoth 02e59bd5a5 Added .deleteemptyservers command 2022-01-24 02:40:54 +01:00
Kwoth a402f33a4c Cancel some delay tasks if they're not being used 2022-01-23 04:14:16 +01:00
Kwoth c6b0d75fd7 Fixed a patreon reward bug and coinmarketcap ratelimit issue 2022-01-22 18:20:41 +01:00
Kwoth 0c88dd84cf Merge branch 'v4' of https://gitlab.com/kwoth/nadekobot into v4 2022-01-20 13:22:45 +01:00
Kwoth 0ef2da6f10 Reworked currency service. Some features are missing 2022-01-20 13:22:38 +01:00
Kwoth fa41c5a319 .clubinfo performance improvement and fixed an issue with cyrillic clubs not showing up at all even with correct capitalization 2022-01-16 21:01:33 +01:00
Kwoth 1d27b4e7e8 Updated changelog 2022-01-14 23:40:24 +01:00
Kwoth 8ace24f0fc Merge branch 'v4' of https://gitlab.com/kwoth/nadekobot into v4 2022-01-11 12:59:19 +01:00
Kwoth f9fff5a27e Updated packages and updated docs 2022-01-11 12:59:07 +01:00
Kwoth 63d1741534 Updated packages and updated docs 2022-01-11 12:58:19 +01:00
Kwoth 9b10094ea0 Fixed an ef core warning in muteservice 2022-01-10 21:50:35 +01:00
Kwoth 9de75d9109 Using PeriodicTimer instead of threading.timer in some services 2022-01-10 17:19:51 +01:00
Kwoth 73901158ab Added automatic permissions migration for more renamed customreaction commands 2022-01-10 15:58:12 +01:00
Kwoth b044eb2d9a - Ignored intent warnings on startup
- Moved FilterWordsChannelId to a separate table (needs testing)
- Some todos updated
2022-01-10 14:18:34 +01:00
Kwoth c58ae9fc13 Added safesearch to .img when using google (thx to ZeroNyan) 2022-01-10 13:32:18 +01:00
Kwoth 17cdd6f893 Fixed compile error 2022-01-10 09:58:59 +01:00
Kwoth f07a855912 More common refactorings like renaming variables, removing empty statements and unused variables, etc 2022-01-09 16:46:08 +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 a6330119e8 Possible fix for monthly patreon creds auto update 2022-01-07 06:39:49 +01:00
Kwoth 73de20b615 Stagger greet dms 2022-01-06 22:41:49 +01:00
Kwoth 352ec9a562 Usings https in gelbooru 2022-01-06 21:05:55 +01:00
Kwoth f1770cbb8f Fixed gelbooru 2022-01-06 20:59:49 +01:00
Kwoth 51a396ec9f Logging should work on selfhosts, not public 2022-01-06 14:42:17 +01:00
Kwoth ac6e0c2f84 Re-added some of the most common Custom Reaction commands as aliases to avoid chaos 2022-01-06 13:36:38 +01:00
Kwoth 7b84d6363c - Automatically update permissions for CustomReactions to Expressions during
- Small refactor
2022-01-06 12:13:35 +01:00
Kwoth e1fca41a70 GreetDmMessage will now show a footer with the source server -.- 2022-01-06 05:00:44 +01:00
Kwoth e9f42bf4df Slight code improvement in GreetService 2022-01-06 04:44:25 +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 f13d7d2c80 Cleaned up some unused/commented code
- Small amount of refactoring
- Separated imagesharp extension to ImageSharpExtensions.cs
- Using .join Ienumerable extension instead of string.join in some places
2022-01-04 09:06:42 +01:00
Kwoth 3aa6a54b6e - Renamed CustomReaction model to NadekoExpression
- Used structured logging everywhere
2022-01-04 07:35:55 +01:00
Kwoth ef49030841 - Added serilog analyzer which will help with fully moving to structured logging
- Small code cleanups
2022-01-03 13:38:24 +01:00
Kwoth ade880a6e6 - .gvc should now properly trigger when a user is already in a gvc and changes his activity
- .gvc should now properly detect multiple activities
- Rewrote repeat raw query bitshift to linqtodb query with division (thx kotz)
2022-01-03 06:52:41 +01:00
Kwoth 21bef1a98e - Possible small fix for .prune ratelimiting
- Use .WhenAll extension instead of Task.WhenAll in a few more places
2022-01-03 04:31:56 +01:00
Kwoth df3e60b61f .h cmdName should now work correctly for all commands 2022-01-02 17:16:15 +01:00
Kwoth 4e60ea4241 Fixed an extra whitespace in usage part of command help if the command has no arguments 2022-01-02 17:00:33 +01:00
Kwoth ca9fa1b0ac - Renamed Prefix to prefix
- Updated some command string keys which were using command name to use method names now
2022-01-02 16:52:39 +01:00
Kwoth 2edda76218 - Generator will now also add [NadekoDescription] attribute to commands
- CustomReactions module (and customreactions db table) renamed to Expressions. This was done to remove confusion about how it relates to discord Reactions (it doesn't, it was created and named before discord reactions existed)
- Permissionv2 db table renamed to Permissions
- Expression command now start with ex/expr and end with the name of the action or setting. For example .exd is expression delete
- CommandStrings will now use methodname as the key, and not the command name (first entry in aliases.yml). In other words aliases.yml and commands.en-US.yml will use the same keys (once again).
2022-01-02 12:01:33 +01:00
Kwoth 6322e0e077 More minor restructuring and cleanup. Most modules and submodules should be properly grouped now 2022-01-02 04:31:54 +01:00
Kwoth 25f249ab5e More cleanup and restructuring, nothing of note 2022-01-02 04:16:34 +01:00
Kwoth 3428073208 Forgot semicolon 2022-01-02 03:57:46 +01:00
Kwoth 4b6af0e4ef Fixed some crashes in response strings source generator, reorganized more submodules into their folders 2022-01-02 03:49:54 +01:00
Kwoth 9c590668df Reorganizing module and submodule folders 2022-01-01 16:30:08 +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 f81f9fadd3 Small refactor for ILogCommandService 2022-01-01 07:33:06 +01:00
Kwoth 8c6fcd2ce6 Small formatting fix for the source generator output files 2022-01-01 07:14:22 +01:00
Kwoth 25eeffa163 - Removed NadekoCommand and Aliases attribute from all commands
- All commands must be marked as partial
- Added [Cmd] Attribute to all commands
- Cmd Attribute comes from the source generator which adds [NadekoCommand] and [Aliases] Attribute to each command
- Should be updated in the future probably to be more performant and maybe add extra data to the commands
- Started reorganizing modules and submodules
2021-12-31 16:05:30 +01:00
Kwoth 6eee161b6b Fixed some NRT warnings in pub/sub mechanism 2021-12-29 06:59:41 +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 d093f7eed7 Small bugfix in hangman, thx ala 2021-12-28 19:32:57 +01:00
Kwoth 0acd2931eb Possible fix for .smch 2021-12-28 10:57:58 +01:00
Kwoth 7b6539632c Removed DotSettings 2021-12-28 10:51:06 +01:00
Kwoth 44104bb0e4 Small cleanup 2021-12-28 10:50:30 +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 0634470a8a Enabled Nullable reference types. Added a temporary fix for clonable NRT warnings. 2021-12-28 10:40:59 +01:00
Kwoth 89c2cda9ec possible fix for .gitlab-ci.yml and some small 2021-12-27 08:34:47 +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 9ae030a5c5 Added new rules concerning type constraints and :base() calls. Reformatted attributes folder 2021-12-26 17:45:26 +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 68741ec484 Possible fix for gitlab-ci 2021-12-25 02:56:19 +01:00