mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-15 00:12:38 +02:00
msg
This commit is contained in:
@@ -16,9 +16,9 @@ module.exports = class MagicBallCommand extends Command {
|
||||
});
|
||||
}
|
||||
|
||||
run(message, args) {
|
||||
run(msg, args) {
|
||||
const { question } = args;
|
||||
const answer = answers[Math.floor(Math.random() * answers.length)];
|
||||
return message.say(`Question: ${question}\n:8ball: ${answer} :8ball:`);
|
||||
return msg.say(`Question: ${question}\n:8ball: ${answer} :8ball:`);
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user