🌤️Option Blocks

These blocks are conditions that will be checked when your command or interaction tries to run and will show an error message instead of running action blocks.

chevron-rightEphemeral Response (Hidden)hashtag

App messages will be hidden from other users so that only you can see them.

chevron-rightAllow User Appshashtag

This will allow your app to send messages in private channels, groups or servers that have not added your app.

Users can install your app on their account and can run interactions as User Apps.

circle-info

See the User Apps Guide for more info.

chevron-rightOpen Modalhashtag

This will stop your command from running and open up an interaction modal instead.

chevron-rightAllow Mentionshashtag

You can choose which mention types your app can send with the command, by default all mentions are disabled.

chevron-rightNsfw Channel Onlyhashtag

This will restrict your command to only run in Nsfw marked channels.

chevron-rightApp Owner/Developer Onlyhashtag

This will restrict your command from being run by any users and will check the bot owner or Discord app team members that should be allowed.

chevron-rightServer Owner Onlyhashtag

This will restrict the command to only be run by server owners.

chevron-rightRequire Server/Channelhashtag

You can limit what context type your command can be run from.

chevron-rightRequire Discord App Premiumhashtag

This will restrict your command so that only users who have purchased an app subscription can use the command.

chevron-rightRequire Server/Channel Permissionhashtag

This will restrict your command so that only users with these permissions can run the command.

Last updated