From 8fcffedf8b3c2264621cf1ffc501d9a53b78cd5d Mon Sep 17 00:00:00 2001 From: Lioness100 Date: Tue, 19 Oct 2021 13:55:50 -0400 Subject: [PATCH] fix: correct deprecated function name (#33) --- 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!'); } }