Removed unnecessary function

This commit is contained in:
zadi15 2020-09-23 09:54:58 +03:00 committed by GitHub
parent ed20432c02
commit 6c0ef87c35
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -60,7 +60,6 @@ function summon (voiceChannel) {
} }
function summonMessage (message) { function summonMessage (message) {
getRandomDiscordColor();
if (!message.member.voice.channel) { if (!message.member.voice.channel) {
message.reply("please join a voice channel to summon me!"); message.reply("please join a voice channel to summon me!");
} else if (message.channel.type === "dm") { } else if (message.channel.type === "dm") {