Show where the message goes

This commit is contained in:
Daniel Odendahl Jr
2017-06-25 14:50:09 +00:00
parent 332322f54d
commit b770f8bda5
+1 -1
View File
@@ -35,7 +35,7 @@ module.exports = class PortalSendCommand extends Command {
if (!channel) return msg.say('Aww... No channel has an open portal...');
try {
await channel.send(`**${msg.author.tag} (${msg.guild.name}):** ${message}`);
return msg.say('Message sent!');
return msg.say(`Message sent to **${channel.name}**!`);
} catch (err) {
return msg.say('Failed to send message...');
}