From 92c0de82c08c3e0996b08807ee15f2cd62ab9a4c Mon Sep 17 00:00:00 2001 From: Peter-MJ-Parker <34216187+Peter-MJ-Parker@users.noreply.github.com> Date: Tue, 27 Sep 2022 22:51:40 -0500 Subject: [PATCH] Refactor: change default fail message and fix typo (#52) Original fail message may have been misleading to some people. They may have thought it was a complication with the bot and could lead to spamming of DMs to bot developer. Fixed typo in my GitHub name after changing. --- TypeScript/serverOnly.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/TypeScript/serverOnly.ts b/TypeScript/serverOnly.ts index f42bb14..a253a68 100644 --- a/TypeScript/serverOnly.ts +++ b/TypeScript/serverOnly.ts @@ -2,7 +2,7 @@ /** * Checks if a command is available in a specific server. * - * @author @DPeter-MJ-Parker [<@1017182455926624316>] + * @author @Peter-MJ-Parker [<@1017182455926624316>] * @version 1.0.0 * @example * ```ts @@ -23,7 +23,7 @@ import { CommandType, EventPlugin, PluginType } from "@sern/handler"; export function serverOnly( guildId: string[], - failMessage = "I am unable to comply with your command." + failMessage = "This command is not available in this guild. \nFor permission to use in your server, please contact my developer." ): EventPlugin { return { type: PluginType.Event,