From 248d8ac65331d16b69ab6bb5420634bd654cc868 Mon Sep 17 00:00:00 2001 From: dragonfire535 Date: Fri, 3 Mar 2017 12:21:55 -0500 Subject: [PATCH] Fix in Roulette Command --- commands/response/roulette.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/commands/response/roulette.js b/commands/response/roulette.js index dd7c68fd..32c1ae88 100644 --- a/commands/response/roulette.js +++ b/commands/response/roulette.js @@ -1,6 +1,6 @@ const commando = require('discord.js-commando'); -class FishyCommand extends commando.Command { +class RouletteCommand extends commando.Command { constructor(Client){ super(Client, { name: 'roulette', @@ -17,8 +17,8 @@ class FishyCommand extends commando.Command { if(!message.channel.permissionsFor(this.client.user).hasPermission('READ_MESSAGES')) return; } console.log("[Command] " + message.content); - message.channel.sendMessage("I choose " + message.guild.members.random() + "!"); + message.channel.sendMessage("I choose " + message.guild.members.random().displayName + "!"); } } -module.exports = FishyCommand; \ No newline at end of file +module.exports = RouletteCommand; \ No newline at end of file