Kwoth
6c58a6a72d
Merge branch 'v4' of https://gitlab.com/kwoth/nadekobot into v4
2022-06-16 21:28:16 +02:00
Hokuto Chen
1cc5e0e1d8
updating docs and some code
2022-06-16 15:56:30 +00:00
Kwoth
deaedce6c7
Renamed some of the classes which still had 'Cr' instead of 'Expr' in them
2022-06-16 04:03:59 +02:00
Kwoth
050eaa48eb
Fixed greet message footer not showing, closes #359
2022-06-14 13:57:10 +02:00
Kwoth
7b5145f116
NadekoBot Patronage system, Search commands improvements + fixes
2022-06-14 07:24:33 +00:00
Kwoth
5b5bc278ff
- Reaction roles rewritten completely. They now support multiple exclusivity groups per message and level requirements. However they can only be added one by one
...
- Bot now support much higher XP values for global and server levels
2022-05-05 04:47:31 +02:00
Kwoth
0f68abcac9
Fixed .deletexp command
2022-04-26 14:15:58 +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
18400dc53a
Fixed a nullref message when the bot is loading medusae. Added support for multiple embeds in features which support custom embeds in the form of
...
{plainText:text-here, embeds: [embedObject, embedObject, embedObject]}
2022-04-17 09:58:30 +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
b079492d38
Fixed voice presence logging, closes #338
2022-03-21 19:58:36 +01:00
Kwoth
1f14c9066e
Added several missing using statements
2022-03-21 13:20:26 +01:00
Kwoth
798b66db9b
Fixed playing rotate nullref
2022-03-21 11:07:42 +01:00
Kwoth
a34a86bbfa
Rewrote several raw queries to linqtodb
2022-03-20 01:14:24 +01:00
Alan Beatty
aaf3c9cfe9
Fix ban dms sending to mod. Closes #340
2022-03-14 11:44:15 -05: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
80800673b9
Removed unneeded NadekoSubmodule and NadekoSubmodule<T> classes
2022-02-26 08:11:25 +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
f250cac8d5
- Fixed .antialt disable confirmation embed color
...
- Fixed weighted warning punishment
2022-02-09 22:58:28 +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
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
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
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
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
02e59bd5a5
Added .deleteemptyservers command
2022-01-24 02:40:54 +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
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
73de20b615
Stagger greet dms
2022-01-06 22:41:49 +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
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
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
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
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