Kwoth
8f62a46016
Split dangerous commands into cleanup commands for each module they belong to
2023-07-15 13:39:46 +00:00
Kwoth
4bc3147697
More cleanup, namespace fixes, convenience methods for IKernel
2023-04-07 00:41:31 +02:00
Kwoth
069f8fab9d
Cleaning up projects, project is building
2023-04-06 10:57:30 +02:00
Kwoth
09171fb10a
Gambling moved to a separate project. Project builds
2023-03-18 18:36:04 +01:00
Kwoth
1ad0bc33af
Removing bloat, fixing file names
2023-03-11 09:10:37 +01:00
Kwoth
8c8e9f7770
Merge branch 'v5' of https://gitlab.com/Kwoth/nadekobot into v5
2023-03-10 01:14:30 +01:00
Kwoth
e91646594f
Fully moved to Ninject, fixed issues with medusa (un)loadabaility
2023-03-10 01:11:43 +01:00
Kwoth
1efda23c3d
Some reorganization, still completely broken
2023-02-11 22:07:29 +01:00
Kwoth
307003e6fe
Moving to NInject, reimplemented most things. Some services aren't discovered properly yet
2023-02-03 11:39:20 +01:00
Kwoth
63a9ae2dac
Make extensive use of raw string literals C#11 feature
2023-01-21 01:12:11 +01:00
Kwoth
9b9fa2f357
- Fixed some potential causes for ratelimit due to default message retry settings
...
- Fixed a patron rewards bug caused by monthly donation checking not accounting for year increase
- Fixed a patron rewards bug for users who connected the same discord account with multiple patreon accounts
2023-01-09 02:05:33 +01:00
Kwoth
bfec0cbcbf
OwnerId will be autofilled in creds.yml if it's missing at startup
2022-10-19 23:43:44 +02:00
Kwoth
a294e3bf8f
Fixed -c GlobalNadeko compilation
2022-10-01 08:52:29 +02:00
Kwoth
fb4f470b44
Added .qdelauth - Delete all quotes by the specified author on this server. If you target yourself - no permission required
2022-08-30 15:46:10 +02:00
Kwoth
6563cb507a
Merge branch 'feature/v4-creds.yml-location' into 'v4'
...
NEW: add NadekoBot__creds env to specify alternative creds.yml
See merge request Kwoth/nadekobot!257
2022-07-27 05:00:28 +00:00
Veovis
cc6128997e
NEW: add NadekoBot__creds env to specify alternative creds.yml
2022-07-27 05:00:27 +00:00
Kwoth
f41b1fb93c
Base for 4.3 work. Split Nadeko.Common into a separate project
2022-07-11 00:06:34 +02:00
Kwoth
4d175477f5
Bot will now 'try' to set status to invisible before going offline when '.die' command is used, but it doesn't seem to have (much/any) effect. .qsearch is more powerful
2022-07-03 22:26:41 +02:00
Kwoth
3fd5f0c97a
Added warn punishment action for protection commands
2022-07-03 14:55:31 +02:00
Kwoth
210da263ad
Abstract away cache. 2 implementations: redis and memory
2022-06-23 13:07:45 +00:00
Kwoth
7b5145f116
NadekoBot Patronage system, Search commands improvements + fixes
2022-06-14 07:24:33 +00:00
Kwoth
d80cbb4647
Refactors. Cleanup. Refactored responses source gen a little. Parametrized localized strings are now generic. Refactored .cash bank interaction. Updated changelog. Reverted clubapps/ban/unban to use .ToString method and configured it to not have right to left unicode. Added extension methods to SocketMessageComponent akin to ones on the IMessageChannel (RespondConfirm, etc...)
2022-05-05 22:59:07 +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
9bf9e06dbf
Gateway errors should no longer be logged on selfhost version
2022-03-24 20:09:27 +01:00
Kwoth
b079492d38
Fixed voice presence logging, closes #338
2022-03-21 19:58:36 +01:00
Kwoth
ddd0592b30
Changed the intent error message to say 'all intents'
2022-03-04 02:23:48 +01:00
Kwoth
f82c4c7019
- Updated Changelog.md
...
- Fixed intent error message condition
2022-03-03 02:45:18 +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
01cc6e52d5
Enabled client log everywhere which could hopefully print login errors
2022-03-03 01:42:22 +01:00
Kwoth
c903bc9003
Added one more log line to pinpoint the login hang
2022-03-03 01:33:05 +01:00
Kwoth
323699d103
Small change to Bot.cs to pinpoint the logging in hang issue
2022-03-03 01:13:49 +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
e194155689
Don't cache any messages on public nadeko
2022-02-08 20:17:17 +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
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
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
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
2ce3262d59
Fixed around 140 wrong namings and other refactorings which were marked as warnings
2022-01-08 11:51:41 +01:00
Kwoth
51a396ec9f
Logging should work on selfhosts, not public
2022-01-06 14:42:17 +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
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
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
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
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
594a3b1f97
Removed some obsolete commands and strings
2021-12-23 20:58:39 +01:00
Kwoth
da849f7c7b
global using NadekoBot.Extensions
2021-12-23 08:04:00 +07:00