mirror of
https://github.com/sern-handler/handler
synced 2026-06-06 01:16:55 +00:00
Update src/core/functions.ts
Co-authored-by: Evo <85353424+EvolutionX-10@users.noreply.github.com>
This commit is contained in:
@@ -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[] {
|
||||
|
||||
Reference in New Issue
Block a user