From 4062cc2ee30e1dd09c1c50fb58f768126d0a3caf Mon Sep 17 00:00:00 2001 From: Lioness100 Date: Mon, 18 Oct 2021 21:29:42 -0400 Subject: [PATCH] fix: correct deprecated function name --- docs/guide/custom-templates.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/guide/custom-templates.md b/docs/guide/custom-templates.md index 904e59d..31df760 100644 --- a/docs/guide/custom-templates.md +++ b/docs/guide/custom-templates.md @@ -86,7 +86,7 @@ import { Message } from 'discord.js'; description: 'A basic command' }) export class {{name}}Command extends MyExtendedCommand { - public async run(message: Message) { + public async messageRun(message: Message) { return message.channel.send('Hello world!'); } }