Commit Graph

541 Commits

Author SHA1 Message Date
Kwoth
1dc393d2b1 - Moved update loop to a separate method.
- Added optimize flag to GlobalNadeko configuration.
- Added some packages which will be needed soon
2022-03-21 12:01:07 +01:00
Kwoth
798b66db9b Fixed playing rotate nullref 2022-03-21 11:07:42 +01:00
Kwoth
86e728b753 Converted many raw sql queries to their linq2db equivalents 2022-03-20 19:31:04 +01:00
Kwoth
a34a86bbfa Rewrote several raw queries to linqtodb 2022-03-20 01:14:24 +01:00
Kwoth
e09435da37 Moved some ICurrencyService methods to extensions to simplify use 2022-03-19 21:19:22 +01:00
Kwoth
416f3d604c Added a missing using 2022-03-19 17:01:03 +01:00
Alan Beatty
aaf3c9cfe9 Fix ban dms sending to mod. Closes #340 2022-03-14 11:44:15 -05:00
Kwoth
0e192ee7f0 Removed some lingering strings calling Expressions 'CustomReactions'. Id which shows up when you add a new expr is now correct. 2022-03-04 04:51:02 +01:00
Kwoth
a90b5a62f3 Fixed number spam in the console 2022-03-04 01:26:46 +01:00
Kwoth
e7db631151 Fixed .rero issue which was introduced in 4.0 2022-03-03 22:32:28 +01:00
Kwoth
578b7fefb4 Slightly reorganized commands in Xp module to make more sense - no functional change 2022-02-26 08:28:44 +01:00
Kwoth
80800673b9 Removed unneeded NadekoSubmodule and NadekoSubmodule<T> classes 2022-02-26 08:11:25 +01:00
Kwoth
18efdc004d Added default trovo ClientId for stream notifications 2022-02-25 06:19:05 +01:00
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
f250cac8d5 - Fixed .antialt disable confirmation embed color
- Fixed weighted warning punishment
2022-02-09 22:58:28 +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
3d1f9b8b75 Added a .stock command 2022-02-06 17:43:19 +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
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
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
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
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
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
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
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