sent from my subtext
This commit is contained in:
parent
32262d1cae
commit
da7874c53f
2 changed files with 4 additions and 4 deletions
|
@ -82,11 +82,11 @@ async function runCommand(msg, cmd, line) {
|
|||
if (!cmdObj) return null;
|
||||
|
||||
if (cmdObj.ownerOnly && msg.author.id != hf.config.owner_id) {
|
||||
return "No\n\nSent from my iPhone";
|
||||
return "No\n-# Sent from my iPhone";
|
||||
}
|
||||
|
||||
if (cmdObj.elevatedOnly && !hf.config.elevated.includes(msg.author.id)) {
|
||||
return "No\n\nSent from my iPhone";
|
||||
return "No\n-# Sent from my iPhone";
|
||||
}
|
||||
|
||||
if (cmdObj.guildOnly && !msg.guildID) {
|
||||
|
|
|
@ -5,14 +5,14 @@ const {pastelize, getTopColor} = require("../util/misc.js");
|
|||
async function runCommand(interaction, command) {
|
||||
if (command.ownerOnly && interaction.user.id != hf.config.owner_id) {
|
||||
return {
|
||||
content: "No\n\nSent from my iPhone",
|
||||
content: "No\n-# Sent from my iPhone",
|
||||
flags: MessageFlags.EPHEMERAL,
|
||||
};
|
||||
}
|
||||
|
||||
if (command.elevatedOnly && !hf.config.elevated.includes(interaction.user.id)) {
|
||||
return {
|
||||
content: "No\n\nSent from my iPhone",
|
||||
content: "No\n-# Sent from my iPhone",
|
||||
flags: MessageFlags.EPHEMERAL,
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue