1
Fork 0
mirror of https://gitlab.com/Kwoth/nadekobot.git synced 2024-10-03 04:23:13 +00:00
Commit graph

449 commits

Author SHA1 Message Date
Hokuto Chen
4ac7d329fd added args: "{0}" to windows updater restart example 2022-01-18 22:47:47 +00:00
Kwoth
4c2f7dde5f Merge branch 'hokutochen-v4-patch-96655' into 'v4'
same as !229

See merge request Kwoth/nadekobot!230
2022-01-18 22:47:36 +00:00
Kwoth
a70b58332f Merge branch 'hokutochen-v4-patch-04139' into 'v4'
added bold lettering to intents

See merge request Kwoth/nadekobot!222
2022-01-18 22:47:17 +00: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
Hokuto Chen
b41571a7fd same as !229 2022-01-16 11:26:33 +00:00
Hokuto Chen
9d2d2fcca5 added "no owner message" advisory 2022-01-15 06:23:29 +00:00
Hokuto Chen
3c90dc239e added bold lettering to intents 2022-01-15 06:20:06 +00: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