Added deploy command

This commit is contained in:
2022-07-19 16:26:33 +02:00
parent 4b08c99817
commit b753601979
10 changed files with 106 additions and 5 deletions

View File

@@ -28,7 +28,8 @@
"Technicians": [
240160344557879316,
236592458664902657
]
],
"DeployFilesPath": "../../deploy"
},
"Base": {
"910199451145076828": {

View File

@@ -25,7 +25,8 @@
},
"Technicians": [
240160344557879316
]
],
"DeployFilesPath": "../../deploy"
},
"Base": {
"910199451145076828": {

View File

@@ -27,7 +27,8 @@
"Technicians": [
240160344557879316,
236592458664902657
]
],
"DeployFilesPath": "../../deploy"
},
"Base": {
"650366049023295514": {

View File

@@ -24,7 +24,8 @@
"Technicians": [
240160344557879316,
236592458664902657
]
],
"DeployFilesPath": "../../deploy"
},
"Base": {
"910199451145076828": {

View File

@@ -5,6 +5,7 @@ from cpl_core.environment import ApplicationEnvironmentABC
from cpl_discord import get_discord_collection
from cpl_discord.discord_event_types_enum import DiscordEventTypesEnum
from modules.admin.command.deploy_command import DeployCommand
from modules.admin.command.restart_command import RestartCommand
from modules.admin.command.shutdown_command import ShutdownCommand
from modules.base.command.afk_command import AFKCommand
@@ -39,6 +40,7 @@ class StartupDiscordExtension(StartupExtensionABC):
# admin
dc.add_command(RestartCommand)
dc.add_command(ShutdownCommand)
dc.add_command(DeployCommand)
# moderator
dc.add_command(PurgeCommand)
# simple