Skip to content

Commit

Permalink
fix: correct deprecated function name (#33)
Browse files Browse the repository at this point in the history
  • Loading branch information
Lioness100 authored Oct 19, 2021
1 parent 3719c0a commit 8fcffed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/guide/custom-templates.md
Original file line number Diff line number Diff line change
Expand Up @@ -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!');
}
}
Expand Down

0 comments on commit 8fcffed

Please sign in to comment.