Kwoth
e9c7293014
Running .timely command too early will now show a pending color, not an error color
2022-08-09 22:43:22 +02:00
Kwoth
38e3badb87
Greatly unboilerplated and simplified nadeko interaction button construction
2022-08-07 17:00:36 +02:00
Kwoth
82d89148f3
Added betroll bettest, fixed a bug which caused betroll to have very low payout
2022-07-31 21:26:34 +02:00
Kwoth
3c715a29ca
.bank withdraw <expression> will now correctly use bank amount for calculations. Fixed .br giving double win amounts
2022-07-28 12:41:38 +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
0b720a0439
Many changes. Will update merge request description with details
2022-07-15 05:04:01 +02:00
Kwoth
d9011106ac
Replaced .wheel with .lula (lucky ladder). It looks nicer but plays the same. Also it is more customizable as you can have more or less multipliers. Cleaned up some trivia code. Sorted lula multipliers in gambling.yml. Improved .slottest
2022-07-14 03:52:30 +02:00
Kwoth
17ca609fe9
Moved .rps to the new service, reimplemented logic, fixed an unknown bug with 0 amount (?!)
2022-07-13 23:48:03 +02:00
Kwoth
2b8daa2177
Improved how .bf and .br look like. Improved .slot result calculation performance (because of .slottest). Some string changes
2022-07-13 06:22:39 +02:00
Kwoth
f3ed14de5b
.slot should now show correct messages if multipliers are changed in the config
2022-07-13 04:01:56 +02:00
Kwoth
5f7b030a66
More work on gambling
2022-07-13 02:21:53 +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
470bb9657f
Fixed .timely button for sure this time
2022-07-06 13:41:27 +02:00
Kwoth
5c933b676d
.timely will now have a button to set a reminder
2022-07-02 14:15:02 +02:00
Kwoth
210da263ad
Abstract away cache. 2 implementations: redis and memory
2022-06-23 13:07:45 +00:00
Kwoth
3d3dc532dc
Made .timely use timestamp tags and fixed a bug
2022-06-17 04:37:08 +02:00
Kwoth
7b5145f116
NadekoBot Patronage system, Search commands improvements + fixes
2022-06-14 07:24:33 +00:00
Kwoth
91ee0d121c
DM send by the bot when being the target of a .give command will now once again contain amount.
2022-05-07 09:32:27 +02:00
Kwoth
5ed005211e
Added bank information to .economy
2022-05-05 23:14:58 +02: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
f132aa2624
- Added a simple bank system. Users can deposit, withdraw and check the balance of their currency in the bank.
...
- Users can't check other user's bank balances.
- Added a button on a .$ command which, when clicked, sends you a message with your bank balance that only you can see.
- Updated pagination, it now uses buttons instead of reactions
- using .h <command group> (atm only .bank is a proper group) will list commands with their descriptions in that group
2022-04-29 07:22:49 +02:00
Kwoth
24a9a02cc3
.give will send dms again
2022-04-27 00:36:27 +02:00
Kwoth
e09435da37
Moved some ICurrencyService methods to extensions to simplify use
2022-03-19 21:19:22 +01:00
Kwoth
416f3d604c
Added a missing using
2022-03-19 17:01:03 +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
f77f2f433f
- Most if not all gambling commands should now use locale-specific currency format
...
- Enabled preview language features
2022-02-03 13:51:50 +01:00
Kwoth
eecccc8100
- Added currency.transactionsLifetime which controls auto-deletion of currency transactions from the database
...
- Updated changelog
2022-02-02 13:53:14 +01:00
Kwoth
15ee3dd638
- Added waifu price decay functionality
...
- Waifu prices changed to long, supporting much higher prices than before
- Fixed .yml comment indentation in some cases
- Updated changelog
2022-02-02 11:25:22 +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
b22cd5a81e
A few more throwaway variable syntax updated
2022-02-01 13:54:25 +01:00
Kwoth
7ee51332b0
Some refactorings - Updated editorconfig, removed some unused variables and parameters, updated some old thorwaway variable code, some general cleanup
2022-02-01 13:51:07 +01:00
Kwoth
3910dc7499
- Improved .curtrs (It will now have a lot more useful data in the database, show Tx ids, and be partially localized)
...
- Added .curtr command which lets you see full information about one of your own transactions with the specified id
- Added .WithAuthor(IUser) extension for embedbuilder
2022-01-25 05:55:38 +01:00
Kwoth
0ef2da6f10
Reworked currency service. Some features are missing
2022-01-20 13:22:38 +01:00
Kwoth
f07a855912
More common refactorings like renaming variables, removing empty statements and unused variables, etc
2022-01-09 16:46:08 +01:00
Kwoth
ef49030841
- Added serilog analyzer which will help with fully moving to structured logging
...
- Small code cleanups
2022-01-03 13:38:24 +01:00
Kwoth
4b6af0e4ef
Fixed some crashes in response strings source generator, reorganized more submodules into their folders
2022-01-02 03:49:54 +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
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