From 14e80016daff0ce9b02b1b06eb3336fc8ec14bbb Mon Sep 17 00:00:00 2001 From: Jacob Nguyen <76754747+jacoobes@users.noreply.github.com> Date: Sun, 30 Jun 2024 17:32:08 -0500 Subject: [PATCH] Update src/core/functions.ts Co-authored-by: Evo <85353424+EvolutionX-10@users.noreply.github.com> --- src/core/functions.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/functions.ts b/src/core/functions.ts index 18154c7..1e65d38 100644 --- a/src/core/functions.ts +++ b/src/core/functions.ts @@ -20,7 +20,7 @@ import type { Payload } from '../types/utility'; * @returns The message without the prefix * @example * message.content = '!ping'; - * console.log(fmt(message, '!')); + * console.log(fmt(message.content, '!')); * // [ 'ping' ] */ export function fmt(msg: string, prefix?: string): string[] {