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[] {