mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-15 00:12:38 +02:00
msg
This commit is contained in:
@@ -11,8 +11,8 @@ module.exports = class FortuneCookieCommand extends Command {
|
||||
});
|
||||
}
|
||||
|
||||
run(message) {
|
||||
run(msg) {
|
||||
const fortune = fortunes[Math.floor(Math.random() * fortunes.length)];
|
||||
return message.say(fortune);
|
||||
return msg.say(fortune);
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user