Added .doas command which executes the command as if you were the target user

This commit is contained in:
Kwoth
2022-11-19 22:36:18 +01:00
parent 8a6edc17e4
commit f24692e79b
5 changed files with 169 additions and 4 deletions

View File

@@ -1383,4 +1383,7 @@ patronmessage:
eval:
- eval
autopublish:
- autopublish
- autopublish
doas:
- doas
- execas

View File

@@ -2345,4 +2345,8 @@ threaddelete:
autopublish:
desc: "Make the bot automatically publish all messages posted in the news channel this command was executed in."
args:
- ""
- ""
doas:
desc: "Execute the command as if you were the target user. Requires bot ownership and server administrator permission."
args:
- "@Thief .give all @Admin"