Commit Graph

245 Commits

Author SHA1 Message Date
4ed91ede81
Adjust CheckLevel signature to be a pure method 2020-08-11 03:58:35 +02:00
8bdacb5328
Refactor the levelup code to a more sensible order of operations 2020-08-11 03:57:38 +02:00
ad0ea126e8
Invert minute timeout check 2020-08-11 03:28:58 +02:00
c0acf1ff79
Rename AddXp function to proper naming convention 2020-08-11 03:26:28 +02:00
7c22efbb49
Add mention username/nickname if mentions are not desired. 2020-08-11 02:45:35 +02:00
e270904647 Updating for new Formula 2020-08-10 19:07:03 -04:00
96561089c2 Adding Nicknaming on Link 2020-08-10 00:04:15 -04:00
44df5790c6 Updating for :wot: emoji, and also to permit the status joni / welcome to ONLY send to system status channel 2020-08-09 23:48:06 -04:00
0fdcbd0968 Adding Welcome and Goodbye 2020-08-09 11:01:19 -04:00
60845644bb Fixing Level NextXP Formula 2020-08-09 10:35:53 -04:00
9950801644 Setting default level to 1 2020-08-09 10:19:29 -04:00
038cd37995 Fixing Formula for leveling. 2020-08-09 10:10:19 -04:00
5bae7d8e50 Fixing Typo 2020-08-09 09:59:57 -04:00
da5848adc4 Customizing output of congrats msg as per Luna 2020-08-09 09:51:24 -04:00
e3dd02a139 Fixing nextLevel notifications 2020-08-09 09:20:46 -04:00
71bfac8810 Adding Default 2020-08-09 00:56:24 -04:00
f14c956495 Adding !level command. 2020-08-09 00:55:27 -04:00
7169bafb1a Updating Experience Levelup Messages to send to specified channel. 2020-08-09 00:46:10 -04:00
e7d10caf4e Sending Channel to parsers for Reply on level Up, Adding Leveling Formula 2020-08-08 23:54:27 -04:00
e8c6fcce76 Adding Level to the Experience Table 2020-08-08 23:54:08 -04:00
a40edc8a99 Changing XP gain to random of 15-25. also adding LastUpdated to ensure experience gain only once per minute. 2020-08-08 23:34:16 -04:00
1b4f4cc1c0 Adding DateTime field of LastUpdated 2020-08-08 23:33:48 -04:00
1abfb39aac Updated MSG's to raffle tickets instead of points. 2020-08-08 23:05:36 -04:00
f9b5531b47 Added raffle clear command and permission node. 2020-08-08 23:03:09 -04:00
59b6ff0569 Updating for new results of MemberDate and RecruitDate 2020-08-08 22:34:07 -04:00
c8f2a44037 Fixing Typo 2020-08-08 10:44:04 -04:00
37e27d3fc2 updating for new Rank 2020-08-07 22:44:15 -04:00
ae70fba075 Updating RankCheck to utilize either Web API discord Linking or Discord App Linking 2020-08-06 23:28:34 -04:00
7d31e5a217 Adding Character Linking Security + DM's 2020-08-06 22:59:36 -04:00
082e7a0741 updating msg for rankCheck for proper null detection of discordId 2020-08-06 21:58:29 -04:00
59525c4c63 Adding additional restricted values for Config 2020-08-06 20:30:39 -04:00
9cdab68c64 Adding RankCheck command 2020-08-06 20:24:15 -04:00
0af2ebbd96 Adding Handler to properly utilize the API results 2020-08-06 20:24:03 -04:00
0058a68e48 Linking Experience Handler into the code, Also checking IF they they have config enabled for commands to count towards Experience 2020-08-06 17:20:25 -04:00
0ebcfdb605 Creating Experience Handler code to add XP based on Configuration setting. 2020-08-06 17:19:49 -04:00
56edd20562 Adding ExperiencePoints table and Model 2020-08-06 17:19:33 -04:00
Sean Stoves
f1577ba5b7 Augmenting code to use isAllowed 2020-08-06 10:52:06 -04:00
Sean Stoves
93f55adf7b Adding Function to permit a restriction of configurations. 2020-08-06 10:51:56 -04:00
7a18e4a14b
Add version command 2020-08-06 16:11:27 +02:00
b6ebda7b37 Cleaning Declarations 2020-08-06 01:04:52 -04:00
ee74aba169 Finishing Raffle Code, Raffle Pick 2020-08-06 01:04:19 -04:00
44f04f9555 Set perms to be points.add not points.give. 2020-08-06 00:02:19 -04:00
e818b4f013 Removing Legacy Point Code 2020-08-05 23:13:31 -04:00
19c1c29aed Point System finalized. 2020-08-05 23:12:04 -04:00
8aa467cef3 Augmenting Point System 2020-08-05 22:40:13 -04:00
a672c3968f in Line code for special permission nodes 2020-08-05 22:40:01 -04:00
afcd6039c6 fixing default diceRecipe 2020-08-05 20:56:21 -04:00
345304537a Adding default diceRecipe 2020-08-05 20:55:11 -04:00
01d504c077 Fixing getCharacter 2020-08-05 20:50:58 -04:00
32fe86cdd6 Removing Legacy File 2020-08-05 20:36:50 -04:00
663361f39e Adding Character Checks 2020-08-05 20:36:28 -04:00
9c7bd0d11c Adding LodeStone functions 2020-08-05 20:24:10 -04:00
a02679f6e2 Deleting File from Legacy Command 2020-08-05 20:23:56 -04:00
49217b92b2 Properly Awaiting Async Tasks for Clean Compile 2020-08-05 19:33:41 -04:00
ee86714ca9 Removing ? marks for [Nullable] for Clean Compile 2020-08-05 19:33:24 -04:00
965a7faebd Removing old Legacy code 2020-08-05 19:30:33 -04:00
16dec32abc Adding Dice Commands 2020-08-05 19:30:12 -04:00
955ff55dd8 Adding UserFolder 2020-08-05 19:27:36 -04:00
6625e8ceac Adding Dynamic to Exception 2020-08-05 19:27:22 -04:00
379c47cbfe Added Configuration Handler for Setting and Getting 2020-08-05 19:23:58 -04:00
74f4206f27 Adding Upsert Nuget for EntityFrameWorkCore 2020-08-05 19:23:28 -04:00
cef2f4e207 Adding Mention to Deleted 2020-08-05 18:11:40 -04:00
ac762c8f0a Adding reply for message age > 2 weeks 2020-08-05 18:03:48 -04:00
cb4cc8601f Adding Admin/User for default role 2020-08-05 17:58:57 -04:00
2445566308 Adding default Role Status 2020-08-05 17:58:45 -04:00
f2ec518b58 Making commandPermission check use Count not Null 2020-08-05 17:33:37 -04:00
ffd6e6fd61 Adding Proper Default Laddering 2020-08-05 17:28:42 -04:00
bccde409a5 Folder Include for the Module Standardization for default Perm reasons. 2020-08-05 17:09:10 -04:00
5ba1da7d09 Permissions Code altered and fixed for Role usage. 2020-08-05 17:08:21 -04:00
3349c64f37 Adding new clear command in new Module / Fodler based system. 2020-08-05 17:08:03 -04:00
8a9d686617 Removing Old Decrepit non ORM Code. 2020-08-05 17:07:48 -04:00
92a676beff
Make it work, however, uncomment two commands 2020-08-05 21:54:46 +02:00
b8a1f91d0a
Remove old database and attribute system, replace with (mostly error-free, possibly and partially) working system with the new EFCore 2020-08-05 01:09:56 +02:00
63f688de9c Removing Blob/LongText from CommandPermissions. 2020-08-04 17:47:21 -04:00
5604d0132d
Add migrations for the made models 2020-08-04 23:40:32 +02:00
ca10f50645
Replace models with proper EF-models 2020-08-04 23:40:15 +02:00
b766813b60
Remove dependency injector 2020-08-04 23:40:00 +02:00
eb2a80e65d
Change nuget dependencies 2020-08-04 23:38:11 +02:00
3135c8965d Adding LevelUp Model 2020-08-03 22:24:40 -04:00
35e8dc8188 Adding Models for EntityFrameWork 2020-08-03 22:20:42 -04:00
3f31133b3b Adding MySQL Support via Nugets and AJ 2020-08-03 20:51:35 -04:00
33e8b74813
Start dependency injection 2020-06-18 21:03:24 +02:00
d6d8aa7e8a
Refactor some of the code and naming conventions 2020-06-17 13:43:51 +02:00
3b76d06619
Remove unused variable 2020-06-17 12:56:36 +02:00
9fba590893
Add CheckCommandPerm to correct namespace 2020-06-17 12:55:22 +02:00
dade5809fd
Remove RequireRole precondition 2020-06-17 12:50:16 +02:00
7f0524b947 Adding new DB Command and functions 2020-06-15 23:25:38 -04:00
703e5ae411 Adding CommandPermission Entity 2020-06-15 22:32:25 -04:00
ddce0a9504 Set Server Owner to have permission for all commands. 2020-06-15 22:09:44 -04:00
80f6cf0803 Making RequireRole dynamic. 2020-06-15 22:05:26 -04:00
ba93b7e45e Moving File for better Organization. 2020-06-15 21:47:44 -04:00
b9e8fa40ab Updating for default values if not configured yet. 2020-06-15 21:42:04 -04:00
4e2f03bf4c Updating Role -> Name 2020-06-15 21:35:53 -04:00
d7c997f0cf Adding Dynamic Permission PreCondition node 2020-06-15 21:33:10 -04:00
843e9f4808 Updating due to casting errors because of serialized ConfigRepository data 2020-06-15 21:08:31 -04:00
eaf5ed9889 Adding Raffle Buy functionality. Began Config commands for Variable Config Alterations 2020-06-15 20:51:50 -04:00
7046b97bee
Fix Entity data types to longs 2020-06-15 01:11:40 +02:00
707e0b1bc1
Fix Rafflesystem, take out kinks from other systems 2020-06-09 16:54:34 +02:00
1180aa2bb4
use right datatype 2020-06-08 23:54:25 +02:00
5b552ac310
make some methods public for testing purposes 2020-06-08 22:00:25 +02:00