diff --git a/example/commands-example.dart b/example/commands-example.dart index 0b4a8a2c3..e87e0f2c1 100644 --- a/example/commands-example.dart +++ b/example/commands-example.dart @@ -35,7 +35,7 @@ class EchoCommand extends command.Command { @override run() async { - await context.message.channel.sendMessage(content: message.content); + await context.message.channel.sendMessage(content: context.message.content); } } @@ -49,6 +49,6 @@ class AliasCommand extends command.Command { @override run() async { - await context.message.channel.sendMessage(content: message.content); + await context.message.channel.sendMessage(content: context.message.content); } }