made commandResult private

This commit is contained in:
jacoobes
2022-01-29 08:22:27 -06:00
parent 2e352ebf0c
commit a5c52ab483

View File

@@ -35,7 +35,7 @@ export namespace Sern {
})
}
async commandResult(module: Sern.Module<unknown> | undefined, message: Message) : Promise<possibleOutput| undefined> {
private async commandResult(module: Sern.Module<unknown> | undefined, message: Message) : Promise<possibleOutput| undefined> {
if (module === undefined) return "Unknown Command";
if (module.visibility === "private" && message.guildId !== this.privateServerId) {
return "This command is not availible in this guild!"