mirror of
https://github.com/danbulant/Shasha
synced 2026-07-10 21:41:14 +00:00
fixed "??" message
This commit is contained in:
parent
a181614181
commit
5294e897ee
2 changed files with 32 additions and 32 deletions
|
|
@ -26,7 +26,7 @@ module.exports = class cloneembed extends commando.Command {
|
|||
return trySend(this.client, msg, 'ypu don\'t know what an embed is? <:cathmmLife:772716381874946068>');
|
||||
}
|
||||
if (!args[0]) {
|
||||
return trySend(this.client, msg, 'Which message||');
|
||||
return trySend(this.client, msg, 'Which message??');
|
||||
}
|
||||
const sent = theMes.embeds.map(r => trySend(this.client, msg, { content: content, embed: r }));
|
||||
if (sent) {
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@ module.exports = class perms extends commando.Command {
|
|||
channel = getChannel(msg, use);
|
||||
if (!channel || !(channel instanceof GuildChannel)) {
|
||||
channel = undefined;
|
||||
mes += "Channel unexisted||?\n";
|
||||
mes += "Channel unexisted!?\n";
|
||||
}
|
||||
}
|
||||
const find = arg.replace(/(?<!\\)--ch [^ ]*\s?/, "");
|
||||
|
|
|
|||
Loading…
Reference in a new issue