Skip to content

Commit ba2b2e9

Browse files
committed
Set adminonly for resethistory and removed permission
1 parent 44f535b commit ba2b2e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/history.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def chat_tracker(paraml, input=None, db=None, conn=None):
4747
track_history(input, message_time, conn)
4848

4949

50-
@hook.command(autohelp=False, permissions=["botcontrol"])
50+
@hook.command(autohelp=False, adminonly=True)
5151
def resethistory(inp, input=None, conn=None):
5252
"""resethistory - Resets chat history for the current channel"""
5353
try:

0 commit comments

Comments
 (0)