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