-
Notifications
You must be signed in to change notification settings - Fork 125
hey, how can i make the reposting commands moderator only? #42
Comments
This bot does not currently have an admin filter, but it should not be too difficult. There is a good guide for this here. With this bot I think it could be possible by adding the following check below line 484: Hopefully this will prevent the rest of the message event from running if they are not an administrator. |
ok let me see |
if i put |
Returning can be used to end a function early. It would be the same as doing this:
^ This way should also work
It reads as "if member does not have permission administrator, stop" |
ok |
btw tysm |
No description provided.
The text was updated successfully, but these errors were encountered: