Allow command removal
This commit is contained in:
parent
14b64e632d
commit
823ed51161
1 changed files with 4 additions and 0 deletions
|
@ -19,6 +19,10 @@ class Repost
|
|||
}
|
||||
end
|
||||
|
||||
def unregister_command(keyword)
|
||||
self.commands.delete_if { |item| item[:keyword] == keyword }
|
||||
end
|
||||
|
||||
# just a stub for now
|
||||
def access_level(user, target)
|
||||
99
|
||||
|
|
Loading…
Reference in a new issue