nsfw bug fixing
This commit is contained in:
parent
1f8c857915
commit
aa4e4bb391
2 changed files with 1 additions and 1 deletions
|
@ -83,7 +83,7 @@ client.on("interactionCreate", async interaction => {
|
||||||
if (cmd.Level) {
|
if (cmd.Level) {
|
||||||
if (!data.Guild.Level) return;
|
if (!data.Guild.Level) return;
|
||||||
}
|
}
|
||||||
if (cmd.directory == "NSFW" && !data.Guild?.NSFW) {
|
if (cmd.name == "nsfw" && !data.Guild?.NSFW) {
|
||||||
interaction.followUp({
|
interaction.followUp({
|
||||||
content: "NSFW commands have been disabled in this server",
|
content: "NSFW commands have been disabled in this server",
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue