mirror of
https://github.com/JonnyBro/JaBa.git
synced 2024-11-22 21:24:59 +05:00
fixes
This commit is contained in:
parent
a2d6f885cb
commit
f1b92b10d9
2 changed files with 1 additions and 2 deletions
|
@ -24,7 +24,6 @@ class Ascii extends Command {
|
||||||
if (!text || text.length > 20) return message.error("fun/ascii:TEXT_MISSING");
|
if (!text || text.length > 20) return message.error("fun/ascii:TEXT_MISSING");
|
||||||
|
|
||||||
const rendered = await figletAsync(text);
|
const rendered = await figletAsync(text);
|
||||||
if (!rendered) rendered = await figletAsync("Nothing");
|
|
||||||
|
|
||||||
message.channel.send("```" + rendered + "```");
|
message.channel.send("```" + rendered + "```");
|
||||||
}
|
}
|
||||||
|
|
|
@ -9,7 +9,7 @@ class Poll extends Command {
|
||||||
enabled: true,
|
enabled: true,
|
||||||
guildOnly: true,
|
guildOnly: true,
|
||||||
aliases: [],
|
aliases: [],
|
||||||
memberPermissions: ["MENTION_EVERYONE"],
|
memberPermissions: ["MANAGE_MESSAGES"],
|
||||||
botPermissions: ["SEND_MESSAGES", "EMBED_LINKS"],
|
botPermissions: ["SEND_MESSAGES", "EMBED_LINKS"],
|
||||||
nsfw: false,
|
nsfw: false,
|
||||||
ownerOnly: false,
|
ownerOnly: false,
|
||||||
|
|
Loading…
Reference in a new issue