mirror of
https://github.com/Technicolor-creamsicle/Osselbot.git
synced 2025-01-20 05:06:22 -05:00
Commit message
This commit is contained in:
parent
8544676e74
commit
a3fe0af8ad
@ -181,7 +181,7 @@ client.on("message", async message => {
|
|||||||
return message.channel.send(`${quotes.quotes[quotesend]}`);
|
return message.channel.send(`${quotes.quotes[quotesend]}`);
|
||||||
}
|
}
|
||||||
if (selector === "add") {
|
if (selector === "add") {
|
||||||
if (!(message.member.roles.cache.some(r => ["Admin", "Mods", "Member of the Order", "Botmeister", "Ally of the Order", "say"].includes(r.name)))) return message.reply("Ask someone with the quote role to add that.")
|
if (!(message.member.roles.cache.some(r => ["Admin", "Mods", "Member of the Order", "Botmeister", "Ally of the Order", "say"].includes(r.name)))) return message.reply("Ask someone with a quote role to add that.")
|
||||||
args.shift();
|
args.shift();
|
||||||
//This does logic to make it from an array to a nice string.
|
//This does logic to make it from an array to a nice string.
|
||||||
quoteadd = args.join(' ');
|
quoteadd = args.join(' ');
|
||||||
|
Loading…
Reference in New Issue
Block a user