#How do i make a slash command only usable by someone who has admininstartor on the server?

1 messages · Page 1 of 1 (latest)

lofty sierra
#

Add @commands.has_permissions(administrator=True)

pure arch
#

Thz

#

Thx

summer nebula
#

.rtfm commands.default_permissions

fluid ibexBOT
summer nebula
#

This one’s usually better as it hides the command for those without the permissions specified