mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-25 22:32:50 +02:00
Change Variable Names, Remove Useless Commands
This commit is contained in:
@@ -20,7 +20,7 @@ module.exports = class ShipCommand extends Command {
|
||||
|
||||
run(message, args) {
|
||||
const { things } = args;
|
||||
const percentage = Math.floor(Math.random() * 100) + 1;
|
||||
return message.say(`I'd give ${things} a ${percentage}%!`);
|
||||
const rating = Math.floor(Math.random() * 100) + 1;
|
||||
return message.say(`I'd give ${things} a ${rating}%!`);
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user