Kwoth
8c51cf8537
Added .xpshopbuy and .xpshopuse convenience commands
2022-08-06 13:26:41 +02:00
Kwoth
b683026cf3
Owner should also be able to buy items from the xp shop
2022-08-01 21:14:28 +02:00
Kwoth
98272f66e7
Made improvements to the XP card text visibility with other backgrounds
2022-08-01 12:01:01 +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
bb395f18a2
Implemented .linkonly (as an alternative to .imageonly). Updated pokaman with latest generations. Updated responses, fixed some warnings
2022-07-27 03:14:47 +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
3e15e50667
Final touches to the xp shop, added privacy-policy.md
2022-07-26 08:35:43 +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
8eca8e1dfb
Avoid awaiting possible null
2022-07-18 04:45:05 +02:00
Kwoth
b12e97a0a7
Added uncommited files. Fixed nullref in update loop when users gain voice xp
2022-07-18 04:44:27 +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
3db194c186
Fixed .clubleave, cleanup
2022-07-15 17:55:56 +02:00
Kwoth
251d5a4df4
Merge branch 'v4' into 4.3
2022-07-13 03:07:03 +02:00
Kwoth
f761714f15
Removed transaction from the xp loop as it's causing database locking
2022-07-13 02:32:19 +02:00
Kwoth
93b0e38264
Slight tweaks to xp loop
2022-07-13 02:22:15 +02:00
Kwoth
5f7b030a66
More work on gambling
2022-07-13 02:21:53 +02:00
Kwoth
0b122e8d3f
Slight tweaks to xp loop
2022-07-13 01:15:28 +02:00
Kwoth
ff779ad494
Merge branch 'v4' into 4.3
2022-07-11 03:33:29 +02:00
Kwoth
c9287dc166
Merge branch 'v4' of https://gitlab.com/kwoth/nadekobot into v4
2022-07-11 02:58:01 +02:00
Kwoth
7885106266
Bot should no longer always notify server level gains
2022-07-11 02:57:24 +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
744018802f
Rewrite xp gain loop. Hopefully faster and fixes xp freeze bugs.
2022-07-07 17:09:11 +00:00
Kwoth
f398cddaf0
Replaced all usages of ConcurrentDictionary with NonBlocking.ConcurrentDictionary
2022-06-24 08:37:25 +00:00
Kwoth
210da263ad
Abstract away cache. 2 implementations: redis and memory
2022-06-23 13:07:45 +00:00
Kwoth
3744dd287c
Revert "Fixed .crypto - some extra fields which were causing deserialization issues"
...
This reverts commit f65ba100af
.
2022-06-17 14:03:30 +02:00
Kwoth
f65ba100af
Fixed .crypto - some extra fields which were causing deserialization issues
2022-06-17 14:02:38 +02:00
Kwoth
7b5145f116
NadekoBot Patronage system, Search commands improvements + fixes
2022-06-14 07:24:33 +00:00
Kwoth
cb865d5012
Updated packages
2022-05-12 23:56:12 +02:00
Kwoth
a8767f1136
.clubdesc will now have a nicer response
2022-05-07 08:28:23 +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
5b5bc278ff
- Reaction roles rewritten completely. They now support multiple exclusivity groups per message and level requirements. However they can only be added one by one
...
- Bot now support much higher XP values for global and server levels
2022-05-05 04:47:31 +02:00
Kwoth
7cb15f5278
Medusa System Added
...
Read about the medusa system [here](https://nadekobot.readthedocs.io/en/latest/medusa/creating-a-medusa/ )
2022-04-16 12:44:46 +00:00
Kwoth
e23233ee06
WIP db provider support for Mysql and Postgres
2022-04-11 10:41:26 +00:00
Kwoth
28720ebcea
Fixed .clubaccept, .clubban, .clubkick and .clubunban, closes #341
2022-03-21 19:32:31 +01:00
Kwoth
1dc393d2b1
- Moved update loop to a separate method.
...
- Added optimize flag to GlobalNadeko configuration.
- Added some packages which will be needed soon
2022-03-21 12:01:07 +01: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
80800673b9
Removed unneeded NadekoSubmodule and NadekoSubmodule<T> classes
2022-02-26 08:11:25 +01:00
Kwoth
e0e044278e
Fixed an issue with streams not showing online or offline status
2022-02-17 15:23:10 +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
0ef2da6f10
Reworked currency service. Some features are missing
2022-01-20 13:22:38 +01:00
Kwoth
fa41c5a319
.clubinfo performance improvement and fixed an issue with cyrillic clubs not showing up at all even with correct capitalization
2022-01-16 21:01:33 +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
2ce3262d59
Fixed around 140 wrong namings and other refactorings which were marked as warnings
2022-01-08 11:51:41 +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