mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
a
This commit is contained in:
@@ -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 to **${channel.name}**!`);
|
||||
return msg.say(`Message sent to **${channel.guild.name}**!`);
|
||||
} catch (err) {
|
||||
return msg.say('Failed to send message...');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user