diff --git a/templates/components/command.js.sapphire b/templates/components/command.js.sapphire index 46b922d..8dce384 100644 --- a/templates/components/command.js.sapphire +++ b/templates/components/command.js.sapphire @@ -9,7 +9,7 @@ class UserCommand extends SubCommandPluginCommand { }); } - async run(message) { + async messageRun(message) { return msg.channel.send('Hello world!'); } } diff --git a/templates/components/command.ts.sapphire b/templates/components/command.ts.sapphire index e1ce567..8c88b2f 100644 --- a/templates/components/command.ts.sapphire +++ b/templates/components/command.ts.sapphire @@ -8,7 +8,7 @@ import { Message } from 'discord.js'; description: 'A basic command' }) export class UserCommand extends SubCommandPluginCommand { - public async run(message: Message) { + public async messageRun(message: Message) { return message.channel.send('Hello world!'); } }