forked from sh-edraft.de/sh_discord_bot
Added deploy command
This commit is contained in:
@@ -28,7 +28,8 @@
|
||||
"Technicians": [
|
||||
240160344557879316,
|
||||
236592458664902657
|
||||
]
|
||||
],
|
||||
"DeployFilesPath": "../../deploy"
|
||||
},
|
||||
"Base": {
|
||||
"910199451145076828": {
|
||||
|
@@ -25,7 +25,8 @@
|
||||
},
|
||||
"Technicians": [
|
||||
240160344557879316
|
||||
]
|
||||
],
|
||||
"DeployFilesPath": "../../deploy"
|
||||
},
|
||||
"Base": {
|
||||
"910199451145076828": {
|
||||
|
@@ -27,7 +27,8 @@
|
||||
"Technicians": [
|
||||
240160344557879316,
|
||||
236592458664902657
|
||||
]
|
||||
],
|
||||
"DeployFilesPath": "../../deploy"
|
||||
},
|
||||
"Base": {
|
||||
"650366049023295514": {
|
||||
|
@@ -24,7 +24,8 @@
|
||||
"Technicians": [
|
||||
240160344557879316,
|
||||
236592458664902657
|
||||
]
|
||||
],
|
||||
"DeployFilesPath": "../../deploy"
|
||||
},
|
||||
"Base": {
|
||||
"910199451145076828": {
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user