mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-17 00:07:36 +02:00
Add tag to portal
This commit is contained in:
@@ -31,7 +31,7 @@ module.exports = class PortalSendCommand extends Command {
|
|||||||
}).random();
|
}).random();
|
||||||
if (!channel) return msg.say('Aww... No channel has an open portal...');
|
if (!channel) return msg.say('Aww... No channel has an open portal...');
|
||||||
try {
|
try {
|
||||||
await channel.send(`**${msg.author.username} (${msg.guild.name}):** ${message}`);
|
await channel.send(`**${msg.author.tag} (${msg.guild.name}):** ${message}`);
|
||||||
return msg.say('Message sent!');
|
return msg.say('Message sent!');
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
return msg.say('Failed to send message...');
|
return msg.say('Failed to send message...');
|
||||||
|
|||||||
Reference in New Issue
Block a user