Commit Graph

306 Commits

Author SHA1 Message Date
38fd89eeef
Add basic role add command 2020-08-20 01:18:02 +02:00
9dae8289dc
Add database model and migrations for RoleReaction 2020-08-20 01:17:45 +02:00
680d0419f6
Fix XP formula 2020-08-19 22:07:44 +02:00
9087ba9358
Fix of freecompany triggering default as well 2020-08-14 17:35:50 +02:00
e8fd7a47a4
Register reset command 2020-08-13 22:38:06 +02:00
61ef1e0ed9
Add delete configuration flag 2020-08-13 22:37:45 +02:00
d71f4ac3c6
Implement disabling the exp module 2020-08-13 21:11:15 +02:00
ff854df99d
Enable the possibility to disable a module 2020-08-13 21:11:06 +02:00
1521df23fd
Fix indenting and add comment for future 2020-08-13 20:43:00 +02:00
79ff643a2e
Fail-safe the type on the LevelUp:MentionUser tag 2020-08-11 04:12:27 +02:00
23d8db2a4d
General type and naming scheme fixes 2020-08-11 03:59:50 +02:00
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
3c682780a4
Fix multiple where conditions and nullable fields on models 2020-06-08 21:56:58 +02:00
81c32f1137
Remove all string identifiers, changed to long 2020-06-08 20:51:33 +02:00
17170962b1
Remove test entity 2020-06-08 20:51:11 +02:00
155c9b4e77
First version of new database system 2020-06-08 20:21:14 +02:00
a06c6d5e91
Try-catch the timer functionality 2020-06-08 14:20:42 +02:00
2adc291b7d
Allow mulitple configuration flags 2020-06-08 14:20:15 +02:00
8bd9887463
Add configuration get and set endpoint 2020-06-06 17:56:38 +02:00
b2f859f817
Add basic webserver setup 2020-06-06 15:49:39 +02:00
8682cc99bc
Change SDK to Web for Kestrel 2020-06-06 15:49:02 +02:00
1d9d9a8f3c
Remove unique requirement from guild id
Yes, you could only have one config flag per server...
2020-06-06 14:38:00 +02:00
33b70bf884
Allow config for servers to be read from database 2020-06-06 14:35:53 +02:00
5ae3d7599d
Fix CommandHandler config service requirement 2020-06-06 14:35:39 +02:00
cb335bd393
Add guildId filtered config settings 2020-06-06 13:15:34 +02:00
9a98960717
Rework configuration setup to allow database flags 2020-06-06 13:01:52 +02:00
f5488995f5
Merge branch 'cleanup' 2020-06-06 02:53:07 +02:00
270fc56430
Merge branch 'master' into feature-3-lodestone-linkup 2020-06-06 02:51:19 +02:00
3c6aa783f0
Merge branch 'master' into feature-6-timers 2020-06-06 02:49:54 +02:00
7e7c11c4ff
Merge branch 'master' into cleanup 2020-06-06 02:48:37 +02:00
9871d402de
Rework DeletePoints method to use Count Repository method 2020-06-06 02:42:14 +02:00
343e0e7626
Add Count for PointRepository 2020-06-06 02:41:36 +02:00
744b680ddd
Add comments to Database.Controller and RaffleRepository 2020-06-06 02:34:57 +02:00
Ben Yost
17a59ad516 Adding ablity to delete user from points table 2020-06-05 20:25:04 -04:00
0ab5a9f6c3
Add global timer functionality from config 2020-06-06 01:44:11 +02:00
5595993080
Add nick command 2020-06-06 01:43:54 +02:00
87036fea37
Fix Alchemist classtype 2020-06-06 01:43:24 +02:00
6b9e75c8a7
Allow FC names with spaces 2020-06-05 19:07:27 +02:00
20a0c41d1e
Merge branch 'feature-6-timers' into feature-3-lodestone-linkup 2020-06-05 17:46:42 +02:00
Ben Yost
01e46f873f Added points system 2020-06-05 00:29:39 -04:00
Ben Yost
c556edccff Started points system. 2020-06-04 22:25:53 -04:00
11ab5186b8
General cleanup of imports, indenting and logging source 2020-06-05 03:26:54 +02:00
f4472e044d
Add UpdateQuery to DB controller 2020-06-05 03:09:04 +02:00
5ea34d7e9f
Fix comment indent 2020-06-05 02:41:27 +02:00
afafe1f61c
Clean up duplicate code and add typing triggers 2020-06-05 02:29:31 +02:00
588093bef6
Adjust character info lodestone api 2020-06-05 02:23:50 +02:00
1f41e7cf46
Add fancy printing to lodestone output 2020-06-04 22:26:42 +02:00
b4617838dd
Rename methods to proper conventions 2020-06-04 21:05:28 +02:00
ce32f19075
Add discord commands for lodestone queries 2020-06-04 21:04:39 +02:00
5977159678
Add FreeCompany response object 2020-06-04 20:32:51 +02:00
b2a62261ce
Add http fetch without query parameters 2020-06-04 20:32:36 +02:00