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
da849f7c7b
global using NadekoBot.Extensions
2021-12-23 08:04:00 +07:00
Kwoth
93b8bca018
Switch to discord.net 3.0.0
2021-12-23 08:02:23 +07:00
Kwoth
c66e491ce9
Implicit usings and more global usings
2021-12-21 02:36:47 +01:00
Kwoth
9223d78849
Removed redundant parenthesis
2021-12-20 03:54:30 +01:00
Kwoth
da2ee0c158
await usings and minor cleanup
2021-12-20 03:02:02 +01:00
Kwoth
1b2017024c
More target-typed new and redundant paranthesis cleanup
2021-12-20 00:33:11 +01:00
Kwoth
cd379fd308
vars and target-typed new
2021-12-20 00:15:39 +01:00
Kwoth
ee33313519
Global usings and file scoped namespaces
2021-12-19 05:14:11 +01:00
Kwoth
c9e89e1911
- .logignore now supports targeting channels and users
...
- .logignore now lists all ignored channels and users when no parameter is provided
- Renamed and cleaned up some log-related fields
2021-09-21 22:39:24 +02:00
Kwoth
d115261536
Fixed .log commands
2021-09-12 22:07:56 +02:00
Kwoth
919bedeae6
Changed (almost) all responses to make them use the new system instead of raw strings
...
- Fixed many invalid string keys
2021-09-06 21:34:53 +02:00
Kwoth
5e4754fa40
- Reworked embed builder
...
- Use IEmbedBuilderService to create embed builders
- Wrapped embed builder and using IEmbedBuilder
2021-09-06 21:34:51 +02:00
Kwoth
5b4daa9dd3
All .AddField calls no longer use builder
...
- Cleaned up convertlist and listserver embeds slightly
2021-09-06 21:34:50 +02:00
Kwoth
a17d0afc7d
all calls to .WithAuthor and .WithFooter no longer use their respective builders
2021-09-06 21:34:50 +02:00
Kwoth
cbecd823c1
Cleaned up embedbuilder calls to use parameters instead of footer builder
2021-09-06 21:34:50 +02:00
Kwoth
a8a4c9fb44
- NoPublicBotAttribute will now be properly ignored when built with GlobalNadeko configuration
...
- Added ILogCommandsService which will have dummy implementation on public bot, this means Logging Commands will be present on public bot to pull up help etc
- When .ve is enabled, NoPublicBot commands will show a nicer error message with link to selfhosting guide (thx ene)
- Fixed xp gain and .xp command not working on new users
- General cleanup
2021-09-06 21:34:50 +02:00
Kwoth
49f9b96755
One of the last major cleanups. All NadekoBot.Core.* namespaces renamed to NadekoBot.*
2021-09-06 21:34:48 +02:00
Kwoth
d8c7cdc7f4
Changed all == null to is null and all !(* == null) to * is not null
2021-09-06 21:34:44 +02:00
Kwoth
d42705087e
- Database namespace is now NadekoBot.Db
...
- Db related code is now in src/NadekoBot/Db
- Finished major part of the db refactor, but many optimizations are left to be made
2021-09-06 21:34:43 +02:00
Kwoth
c127dcd1e3
UnitOfWork compltely removed. GetDbContext now returns a NadekoContext. Changed every access to contect via uow._context to uow
2021-09-06 21:34:42 +02:00
Kwoth
15dac7e3ed
Massive cleanup
...
- Removed GuildConfigs repository, moved to extensions
- Moved StreamSettings extension to GuildConfig extensions
- namespace NadekoBot.Core has been simplified to NadekoBot in many places (more to come)
- Replaced some raw delete queries with simple linqtodb queries
2021-09-06 21:34:41 +02:00
Kwoth
91ecf9ca41
Restructured folders and project names, ci should be fixed
2021-09-06 21:29:51 +02:00