Update src/core/functions.ts

Co-authored-by: Evo <85353424+EvolutionX-10@users.noreply.github.com>
This commit is contained in:
Jacob Nguyen
2024-06-30 17:32:08 -05:00
committed by GitHub
parent 908d584cc5
commit 14e80016da

View File

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