mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-26 14:19:11 +02:00
The Ultimate Formatting is Done
This commit is contained in:
@@ -18,7 +18,7 @@ module.exports = class RockPaperScissors extends commando.Command {
|
||||
if (message.channel.type !== 'dm') {
|
||||
if (!message.channel.permissionsFor(this.client.user).hasPermission(['SEND_MESSAGES', 'READ_MESSAGES'])) return;
|
||||
}
|
||||
console.log("[Command] " + message.content);
|
||||
console.log(`[Command] ${message.content}`);
|
||||
let [rps] = message.content.toLowerCase().split(" ").slice(1);
|
||||
let response = ['Paper', 'Rock', 'Scissors'];
|
||||
response = response[Math.floor(Math.random() * response.length)];
|
||||
|
||||
Reference in New Issue
Block a user