SettingCommand does not check for permissions #8
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
perpetual
question
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: oko/kiafumi#8
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Anyone can change any value on the settings commands. This is obviously a security issue.
Curious as to what permission would be designated as the one to determine whether or not you could utilize that command. I could always make a setting to designate an administrator role.
I think the safest route is just requiring admin. I would hope the one adding the bot is smart enough to properly configure it anyways, right?
Figures, i'll have it require admin momentarily.
done