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
Kwoth
d093f7eed7
Small bugfix in hangman, thx ala
2021-12-28 19:32:57 +01:00
Kwoth
0acd2931eb
Possible fix for .smch
2021-12-28 10:57:58 +01:00
Kwoth
7b6539632c
Removed DotSettings
2021-12-28 10:51:06 +01:00
Kwoth
44104bb0e4
Small cleanup
2021-12-28 10:50:30 +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
0634470a8a
Enabled Nullable reference types. Added a temporary fix for clonable NRT warnings.
2021-12-28 10:40:59 +01:00
Kwoth
89c2cda9ec
possible fix for .gitlab-ci.yml and some small
2021-12-27 08:34:47 +01:00
Kwoth
1b0392dfab
Added and applied styles for private readonly fields, private fields to Extensions and Common folders.
...
- Some renamings and code cleanups
- Chained method calls, binary expressions and binary patterns will now break into newlines
- Type param constraints and base constructor calls will be on the new line
2021-12-27 03:46:30 +01:00
Kwoth
9ae030a5c5
Added new rules concerning type constraints and :base() calls. Reformatted attributes folder
2021-12-26 17:45:26 +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
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
68741ec484
Possible fix for gitlab-ci
2021-12-25 02:56:19 +01:00
Kwoth
77bbc5ef7a
Removed some unused classes, minor cleanup. Added rider anotations to stop some annoying code suggestions
2021-12-25 02:53:00 +01:00
Kwoth
26ee6ce4d3
Using new .Chunk and .DistinctBy Linq Extensions
2021-12-24 02:10:21 +01:00
Kwoth
594a3b1f97
Removed some obsolete commands and strings
2021-12-23 20:58:39 +01:00
Kwoth
856dcd048a
Removed obsolete placeholders: %users% %servers% %user% %userfull% %username% %userdiscrim% %useravatar% %id% %uid% %channel %chname% %cid% %sid% %server% %members% %server_time% %shardid% %time% %mention%
2021-12-23 20:46:55 +01:00
Kwoth
643dc1824f
Removed bce
2021-12-23 20:44:17 +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
f78e4d457c
Merged v3 branch updates
2021-12-21 23:36:31 +01: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
52b2c0910c
Merge branch 'trans-patch' into 'v3'
...
ToLower for `.trans` language parameters
See merge request Kwoth/nadekobot!205
2021-12-21 01:20:52 +00:00
Alan Beatty
9a4bb7bff9
ToLower for .trans
language parameters
2021-12-21 01:20:52 +00:00
Kwoth
ab5450a125
Merge branch 'hokutochen-v3-patch-59240' into 'v3'
...
updated "GoogleAPIKey" section
See merge request Kwoth/nadekobot!203
2021-12-21 00:46:13 +00:00
Kwoth
bcce32423c
Merge branch 'banmsgpatch' into 'v3'
...
Fix color for ban DMs with plain text ban message.
Closes #324
See merge request Kwoth/nadekobot!204
2021-12-21 00:00:45 +00:00
Alan Beatty
c42d529016
Fix color for ban DMs with plain text ban message.
2021-12-21 00:00:45 +00:00
Hokuto Chen
cbea5077be
updated "GoogleAPIKey" section
2021-12-20 04:40:53 +00:00
Kwoth
9223d78849
Removed redundant parenthesis
2021-12-20 03:54:30 +01:00
Kwoth
edd60ae656
- Removed usage of obsolete methods
...
- Removed unneeded argument from ValidateQuery in Searches.cs
- Using split query when loading all guild configs
2021-12-20 03:48:42 +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
345a9e9524
Removed unused modulebehavior struct and interface
2021-12-20 00:18:22 +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
bc31dae965
Updated packages
2021-12-19 02:34:12 +01:00
Kwoth
cdc2cc1439
Merge branch 'hokutochen-v3-patch-62793' into 'v3'
...
fixed broken "Enter your bot's token" link in "linux release" portion
See merge request Kwoth/nadekobot!202
2021-12-19 01:12:47 +00:00
Kwoth
87819f21bf
Merge branch 'v3' of https://gitlab.com/kwoth/nadekobot into v3
2021-12-19 01:56:42 +01:00
Kwoth
d1be56fbc1
Another attempt at fixing a weird coordinator bug
2021-12-19 01:56:30 +01:00
Hokuto Chen
14016a761d
fixed broken "Enter your bot's token" link in "linux release" portion
2021-12-19 00:24:55 +00:00
Kwoth
12a64c4c4d
Merge branch 'xpstrspatch' into 'v3'
...
Update xpex channel to use the right string
See merge request Kwoth/nadekobot!201
2021-12-18 21:11:06 +00:00
Kwoth
d922120f58
Merge branch 'transpatch' into 'v3'
...
Small `.trans` fixes
See merge request Kwoth/nadekobot!200
2021-12-18 21:10:06 +00:00
Alan Beatty
8e8e349e65
Small .trans
fixes
2021-12-18 21:10:06 +00:00
Kwoth
ccdf0fc077
Merge branch 'hokutochen-v3-patch-43568' into 'v3'
...
separated "cd output && cp creds_example.yml creds.yml"
See merge request Kwoth/nadekobot!199
2021-12-18 21:09:16 +00:00
Hokuto Chen
8c66bcb1e1
separated "cd output && cp creds_example.yml creds.yml"
2021-12-18 21:09:16 +00:00
Kwoth
77fb47183f
Possible fix for #322
2021-12-18 22:07:03 +01:00