Commit Graph

273 Commits

Author SHA1 Message Date
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
33d5668bcc
Add persistence entities for lodestone 2020-06-04 20:32:14 +02:00
6d25611c4e
Add basic Lodestone linkup 2020-06-04 20:00:43 +02:00
99ded56655
Add Timer service 2020-06-04 19:13:00 +02:00
8e53d012c1
Proper rework attributes, update functional 2020-06-04 15:50:21 +02:00
c8f174d3e8
Proper rework attributes, creation functional 2020-06-04 15:21:31 +02:00
f67999d67c
Add attributes for database objects 2020-06-04 13:01:23 +02:00
d2ee23bdb7 Fixing Typo 2020-06-03 21:38:05 -04:00
1e5a6147b1 Adding servers array 2020-06-03 21:36:52 -04:00
6463518083 Adding servers array 2020-06-03 21:34:55 -04:00
0ccf8f96f7 Adding new AJ setting for Server Specific Configuration 2020-06-03 21:28:09 -04:00
773cdf835c
Fix some minor issues 2020-06-04 03:22:39 +02:00
0354224f46
Apply guildId to all repository methods 2020-06-04 03:15:21 +02:00
344871d392 Adding for guildId 2020-06-03 21:07:02 -04:00
462a67e252
Delete on pick 2020-06-04 02:55:09 +02:00
dee07b44f4 Updating for new ClearRaffle 2020-06-03 20:39:20 -04:00
8617dbae2f
General cleanup 2020-06-04 02:36:12 +02:00
bbbb847110 fixing issue with cmd.Commandtext 2020-06-03 20:34:22 -04:00
ce0d48709d Added Open/Close to transaction 2020-06-03 20:33:11 -04:00
4fa9884f88 Adding Clear and Transactional Method 2020-06-03 20:32:04 -04:00
fcd3c04ebb
Add count function to rafflerepository 2020-06-04 02:23:22 +02:00
0a6dab9cf5
Merge branch 'master' of ssh://git.chaoticlogic.us:2302/discord-bots/chaosbot 2020-06-04 02:14:18 +02:00
57058060c2
Add pick db interaction 2020-06-04 02:13:57 +02:00
09e5b671c8
Add pick method 2020-06-04 02:13:35 +02:00
89b0abde44 Updating Raffle status 2020-06-03 20:11:45 -04:00
7712a2c298 Update for Raffle Count 2020-06-03 20:08:50 -04:00
f4cdf5c9c6
Merge branch 'master' of ssh://git.chaoticlogic.us:2302/discord-bots/chaosbot 2020-06-04 01:55:32 +02:00
d537143ba2
Fill out all and user methods in repo 2020-06-04 01:55:05 +02:00
c9335cad29
Add id constructor to Raffle 2020-06-04 01:54:44 +02:00
38876d441e
Add DB controller search method 2020-06-04 01:54:27 +02:00
705e996ec6 Adding Raffle Add and massInsert 2020-06-03 19:47:17 -04:00
146eba94f6
Add mass insert 2020-06-04 01:18:10 +02:00
63d68aa142 Updating to remove ChaosBot.Cotrollers 2020-06-03 19:14:55 -04:00
ca9fa659ba
Generic insert method 2020-06-04 01:13:49 +02:00