update shutdown command argsMode
This commit is contained in:
@@ -19,6 +19,8 @@ export class Shutdown extends ChatCommand {
|
|||||||
title = "/shutdown";
|
title = "/shutdown";
|
||||||
description = "Self-destruction sequence for bot (shutdown)";
|
description = "Self-destruction sequence for bot (shutdown)";
|
||||||
|
|
||||||
|
argsMode = "optional" as const;
|
||||||
|
|
||||||
requirements = Requirements.Build(Requirement.BOT_CREATOR);
|
requirements = Requirements.Build(Requirement.BOT_CREATOR);
|
||||||
|
|
||||||
async execute(msg: Message): Promise<void> {
|
async execute(msg: Message): Promise<void> {
|
||||||
|
|||||||
Reference in New Issue
Block a user