Kwoth
9da8e4f1c1
fix: Fixed pagination, for real this time, closes #435 ,
...
dev: removed some old creds migration code, incremented creds version
2024-06-27 19:48:39 +00:00
Kwoth
ab93380d7c
5.1
2024-06-13 18:54:21 +00:00
Kwoth
06321380ee
add: Added .quteedit command
...
add: Added an edit button to .quoteshow and .exprshow commands that opens a modal which lets you edit the quote or expr in question
2024-05-21 00:53:42 +00:00
Kwoth
e2066f433f
fix: Fixed .h not working on some commands
...
add: Added select menu for the .mdls command
dev: Reworked the way interactions are created and sent. It is much better but far from perfect
2024-05-19 23:24:52 +00:00
Kwoth
a52a246982
fix: xplb and xpglb pagination fixed, closes #430
...
fix: Page number when there is an unknown number of items while paginating is now correct
fix: .stm and .stma fixed and can now mention everyone as long as the user executing the command also can
dev: Cleaned up/improved some code
2024-05-15 13:44:37 +00:00
Kwoth
fc4858830c
Finished new response system
2024-05-02 06:47:01 +00:00
Kwoth
d28c7b500d
Part2 of the response system rework
2024-04-29 01:13:52 +00:00
Kwoth
812b865add
Fixed some aliases and reworked namespaces
2024-04-27 16:03:48 +00:00
Kwoth
e0819f760c
Restructured the project structure back to the way it was, there's no reasonable way to split the modules
2024-04-26 22:26:24 +00:00
Kwoth
308ba36b2e
More restructuring
2023-03-26 14:44:25 +02:00
Kwoth
affaaf2fab
Using generic attributes for NadekoOptions now. Updated packages
2023-01-21 02:21:08 +01:00
Kwoth
7d9e456fe5
Fixed .xpshopbuy having mixed up arguments for frames and bgs
2022-08-17 22:02:36 +02:00
Kwoth
6b9a858f28
Added Use button on sucessful .xpshopbuy or when a user already owns the item
2022-08-08 16:17:30 +02:00
Kwoth
38e3badb87
Greatly unboilerplated and simplified nadeko interaction button construction
2022-08-07 17:00:36 +02:00
Kwoth
8c51cf8537
Added .xpshopbuy and .xpshopuse convenience commands
2022-08-06 13:26:41 +02:00
Kwoth
cf3788c6ea
Added an optional preview url to the xp shop items
2022-08-01 10:53:59 +02:00
Kwoth
22bff7838a
Cleaned up around xp.yml. Fixed a typo, added an error to .xpshop if the feature is disabled.
2022-07-27 03:56:10 +02:00
Kwoth
0f8291c589
.xpadd will now work on roles
2022-07-26 15:47:55 +02:00
Kwoth
bb800f4e38
Fixed xpshop footer
2022-07-26 09:25:34 +02:00
Kwoth
516bc1e484
Bugfix to buttons not working when there's only one item, and buy db query
2022-07-26 04:08:37 +02:00
Kwoth
6a042c3faa
Finished implementing xp shop. It allows users to buy frames and backgrounds if the user enables the feature in data/xp.yml. It can also be available only to patrons
2022-07-25 18:10:00 +02:00
Kwoth
99c60459f8
Removed cmd source generator. Commands are no longer partial methods. Compilations should be slightly faster now. Updated packages and adapted drawing code to the new apis. There may be some bugs.
2022-07-18 04:33:50 +02:00
Kwoth
f41b1fb93c
Base for 4.3 work. Split Nadeko.Common into a separate project
2022-07-11 00:06:34 +02:00
Kwoth
7b5145f116
NadekoBot Patronage system, Search commands improvements + fixes
2022-06-14 07:24:33 +00: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
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
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
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
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
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
da849f7c7b
global using NadekoBot.Extensions
2021-12-23 08:04:00 +07:00
Kwoth
f78e4d457c
Merged v3 branch updates
2021-12-21 23:36:31 +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
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
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
Alan Beatty
d275dc36b2
Update xpex channel to use the right string
2021-12-18 11:13:02 +00:00
Alan Beatty
1c24f95efa
Replace RequireUserPemission
with UserPerm
2021-12-13 13:06:28 +00:00
Kwoth
71f1e43272
.xprewsreset now has correct permissions
2021-12-01 05:41:03 +01:00
Kwoth
a562a571e2
- .shopadd will now ignore negative price input
...
- Make sure bot has manage roles permission for .xprr
- Small cleanup
2021-09-22 23:07:23 +02: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
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