NoNSFW Embed
This commit is contained in:
parent
dc064a746a
commit
6a19ed4d26
1 changed files with 11 additions and 1 deletions
|
|
@ -50,6 +50,15 @@ public class MessageEditor {
|
||||||
.setFooter("Hadder", "https://bigbotnetwork.com/images/Hadder.png")
|
.setFooter("Hadder", "https://bigbotnetwork.com/images/Hadder.png")
|
||||||
.setTimestamp(Instant.now());
|
.setTimestamp(Instant.now());
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case NO_NSFW:
|
||||||
|
builder
|
||||||
|
.setTitle("⛔ No NSFW ⛔")
|
||||||
|
.setDescription("You can only execute this command in NSFW channels!")
|
||||||
|
.setColor(Color.RED)
|
||||||
|
.setFooter("Hadder", "https://bigbotnetwork.com/images/Hadder.png")
|
||||||
|
.setTimestamp(Instant.now());
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
return builder;
|
return builder;
|
||||||
}
|
}
|
||||||
|
|
@ -59,7 +68,8 @@ public class MessageEditor {
|
||||||
WARNING,
|
WARNING,
|
||||||
INFO,
|
INFO,
|
||||||
NO_PERMISSION,
|
NO_PERMISSION,
|
||||||
NO_SELF_PERMISSION
|
NO_SELF_PERMISSION,
|
||||||
|
NO_NSFW
|
||||||
}
|
}
|
||||||
|
|
||||||
public static String handle(String language_code, String string) {
|
public static String handle(String language_code, String string) {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue