Commit Graph

86 Commits (dcd1db1d4ad599c119af58709361150c2e324f3f)

Author SHA1 Message Date
Etz Elia dcd1db1d4a Loop MCM bot (#47)
Loop

Signed-off-by: Etzelia <etzelia@hotmail.com>

Co-authored-by: Etzelia <etzelia@hotmail.com>
Reviewed-by: ZeroHD <joey@ahines.net>
2020-03-05 17:38:39 +01:00
Etzelia 4c9b01e42a Remove print in model POST API (#46) 2019-11-25 16:33:23 +01:00
Etzelia e91f82366d Add model POST API (#45) 2019-11-24 19:52:29 +01:00
Etzelia e1696d3f5f Fix IP API (#42) 2019-10-01 23:08:49 +02:00
Etzelia 6cb25c0b4f Add link to applications in Discord (#41) 2019-10-01 22:24:02 +02:00
Etzelia aa221fb398 Allow filtering of active users for resolved tickets (#40) 2019-09-30 21:44:29 +02:00
Etzelia 3af8642ff0 Allow mods to re-register/reset their password (#37) 2019-09-30 21:43:13 +02:00
Etzelia d658f5fa85 Integrate DjangoCoreProtect (#39) 2019-09-30 21:42:55 +02:00
Etzelia 8eb43887cd Discord reminder for applications and tickets (#34) 2019-09-28 03:29:13 +02:00
Etzelia df30af20e6 Hotfix for CoreProtect URLs (#33) 2019-09-26 03:42:56 +02:00
Etzelia c813535489 Internalize Discord Bot (#31) 2019-08-30 20:03:12 +02:00
Joey Hines 8073765a57 Move `close_old_connections()` to `cog_before_invoke()` (#30) 2019-08-29 18:59:34 +02:00
Etzelia 12e41ce9b7 Re-implement shortcuts (#29) 2019-08-27 23:16:44 +02:00
Etzelia 773efe0606 Updates to API and Discord (#28) 2019-08-27 22:44:20 +02:00
Etzelia da66751986 Change DO_NOTHING to SET_NULL 2019-02-01 18:56:40 +01:00
Etzelia 681a585818 Stop applications from removing all data related to them 2019-01-22 17:50:06 +01:00
Etzelia 16825f0dd2 Link Application to Player if exists 2019-01-16 17:40:38 +01:00
Etzelia c45f5529c7 Remove register command from MCM help 2019-01-09 19:28:28 +01:00
Etzelia bcfad87868 Removing register command from MCM 2019-01-08 23:00:21 +01:00
Etzelia caa7463b70 Protect stats from corrupted files 2019-01-07 05:18:37 +01:00
Etzelia 6d6538664e Fix Warnings to handle Notes instead 2018-12-18 17:35:44 +01:00
Etzelia 8b69c72d5a Cleanup
Added resolve_application and resolve_player utilities, need to update usage as needed
Replaced Search Player back-end logic with resolve_player
2018-12-13 16:28:33 -06:00
Etzelia 229bfffb58 Updated docs
Created API filter for Token model
2018-12-13 15:37:07 -06:00
Etzelia 02ab21aafc Migration of Warnings to Notes
Notes to TicketNotes
Fixes #21
2018-12-13 15:18:29 -06:00
Etzelia b44210e922 Bot Changes
Decommissioned OreAlert since it was implemented in f2f2bc3233
Renamed the MCM Discord bot to clarify
2018-12-12 15:36:47 -06:00
Etzelia 2de89f988c Merge branch 'master' of ZeroHD/MinecraftManagerDjango into master 2018-12-11 17:57:47 +01:00
Joey Hines 1b0c1ab8df Added case for apps still in review. 2018-12-11 10:53:41 -06:00
Joey Hines a34b8b7918 Added message for denied apps 2018-12-11 10:39:28 -06:00
Etzelia 2f2981154c Merge branch 'master' of ZeroHD/MinecraftManagerDjango into master 2018-12-11 17:25:47 +01:00
Joey Hines 94350da9bd Fixed issues brought up in issue #15
+Fixed issue where Discord.util could have issue finding players on the server
+Added an error message if no player record is found
2018-12-10 16:20:23 -06:00
Etzelia 93b3c881e0 Merge branch 'master' of ZeroHD/MinecraftManagerDjango into master 2018-12-10 22:30:20 +01:00
Joey Hines b09d4f69f6 Clarified register help message. 2018-12-10 15:28:32 -06:00
Joey Hines a423de0cb8 Removed appeal link and added register to the help command. 2018-12-10 15:22:02 -06:00
Joey Hines 6000251a1a Removed __exact from the end of accepted filters. 2018-12-10 15:10:41 -06:00
Joey Hines b1ac1a908b Merge branch 'master' of https://git.etztech.xyz/Etzelia/MinecraftManagerDjango 2018-12-10 15:06:37 -06:00
Joey Hines 6fdba9ff42 Added documentation for the new Discord Bot settings. 2018-12-10 15:04:47 -06:00
Joey Hines d3a1cd063f Added settings for appeal link and allowed a list of roles to get new members. 2018-12-10 14:58:53 -06:00
Etzelia 80f2ad6de8 Remove pre-retrieve status message from MCM bot actions
The results are fast enough that a status message is just spam.
2018-12-10 21:43:54 +01:00
Joey Hines fdb51af5c2 register now checks if a user with a nickname matching to the player is already on the server 2018-12-10 13:26:14 -06:00
Joey Hines 03f5c87334 Added a check to register to check for username changes and if the player is banned
If the username is not found in the applications, players is queried to find a matching player
is_banned property is now checked before adding them to the server
2018-12-10 12:44:31 -06:00
Joey Hines 6a0d9d56e2 Reverted OreAlert changes 2018-12-09 10:35:37 -06:00
Joey Hines f80de5a85a Added register command to the MCM Discord Bot
Register queries the applications for the user and applies the rank and the nickname if found
2018-12-09 10:22:52 -06:00
Etzelia 007b4d9319 Remove "searching for..." message as results are returned too quickly to matter. 2018-12-08 23:40:08 -06:00
Etzelia 111aa9eaa3 Formatting consistency 2018-12-08 23:38:30 -06:00
Etzelia b91078a4a7 Only query players with a valid application in the bot 2018-12-08 23:35:29 -06:00
Etzelia 489012c016 Various Fixes/Improvements
Fixes #2
Added links to player profiles from tickets/warnings
Increased app searches in Discord to also search players if no applications are found
If the plugin needs to be able to run advanced searches, may need to update the Model API
2018-12-08 23:30:56 -06:00
Joey Hines 938ec65422 Merge branch 'master' of https://git.etztech.xyz/Etzelia/MinecraftManagerDjango 2018-12-08 22:10:12 -06:00
Etzelia a726001145 Make the demote command message longer
Hopefully that forces it onto a new line?
2018-12-06 20:25:26 +01:00
Etzelia 125730569b Average age only needs accepted applications 2018-12-06 18:00:57 +01:00
Etzelia 3129f8dad0 Too squashed 2018-12-05 23:36:04 -06:00