Kwoth
b85ba177cd
Using declarations and other code reformats
2021-12-26 03:22:45 +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
da849f7c7b
global using NadekoBot.Extensions
2021-12-23 08:04:00 +07:00
Kwoth
0b8c3b3f2b
Using humanizer to deal with time and string trimming in some cases. Removed unused methods. Currency output format improvement (will use guild locale now for some commands)
2021-12-21 05:16:53 +01: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
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
Alan Beatty
0474551e2f
Award no longer misinterprets IDs
2021-12-13 13:11:56 +00:00
Kwoth
732b5dfeed
Merge branch 'v3' of https://gitlab.com/kwoth/nadekobot into v3
2021-11-21 03:01:18 +01:00
Kwoth
d4dcdc761a
.economy should not overflow so easily anymore, and big numbers look nicer
2021-11-21 03:01:04 +01:00
Alan Beatty
4b29b3a239
Change award and take to not use ShmartNumber
2021-11-21 01:37:30 +00:00
Kwoth
619bee811d
Fixed most of the commands which used wrong error color for confirm messages
2021-09-16 23:09:17 +02:00
Kwoth
d028e23bc1
.timely will now correctly use Ok color
2021-09-12 01:22:13 +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
4484732f5d
- Fixed counting parameters which have formats in response strings
...
- Almost finished porting localized string keys as methods
- Compiles
2021-09-06 21:34:53 +02:00
Kwoth
0115d35247
WIP: rework of localized strings, instead of generic LocStr, LocStr is now a struct which contains both the key, and the values which should be put into the value's placeholders. strs' properties are now methods which take values as arguments, and properties if they don't
2021-09-06 21:34:53 +02:00
Kwoth
9d375dccee
wip strings rework, experimenting, nothing works
2021-09-06 21:34:52 +02:00
Kwoth
70288f7670
Second iteration of source generated localized strings
...
- Strs renamed to strs
- Generic params will now default to object instead of string for convenient argument passing
- Many strings changed to use generated properties
2021-09-06 21:34:52 +02:00
Kwoth
42d623b696
Replaced access to .Context with .ctx
2021-09-06 21:34:52 +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
656db01aca
- removed unused attributes on commands
...
- Removed some commented out files
2021-09-06 21:34:48 +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
51a4499809
DiscordUser repository removed
2021-09-06 21:34:41 +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