mirror of
https://github.com/iio612/DEFENDER.git
synced 2026-02-13 19:24:23 +00:00
Quick updates:
- Set default language for admins when running the db patch
- Updating addaccess command.
- Update levels for some commands in mod_command.
This commit is contained in:
@@ -53,16 +53,16 @@ class Command:
|
||||
# Module Utils
|
||||
self.mod_utils = utils
|
||||
|
||||
self.Irc.build_command(1, self.module_name, 'join', 'Join a channel')
|
||||
self.Irc.build_command(1, self.module_name, 'assign', 'Assign a user to a role or task')
|
||||
self.Irc.build_command(1, self.module_name, 'part', 'Leave a channel')
|
||||
self.Irc.build_command(1, self.module_name, 'unassign', 'Remove a user from a role or task')
|
||||
self.Irc.build_command(1, self.module_name, 'owner', 'Give channel ownership to a user')
|
||||
self.Irc.build_command(1, self.module_name, 'deowner', 'Remove channel ownership from a user')
|
||||
self.Irc.build_command(1, self.module_name, 'protect', 'Protect a user from being kicked')
|
||||
self.Irc.build_command(1, self.module_name, 'deprotect', 'Remove protection from a user')
|
||||
self.Irc.build_command(1, self.module_name, 'op', 'Grant operator privileges to a user')
|
||||
self.Irc.build_command(1, self.module_name, 'deop', 'Remove operator privileges from a user')
|
||||
self.Irc.build_command(2, self.module_name, 'join', 'Join a channel')
|
||||
self.Irc.build_command(2, self.module_name, 'assign', 'Assign a user to a role or task')
|
||||
self.Irc.build_command(2, self.module_name, 'part', 'Leave a channel')
|
||||
self.Irc.build_command(2, self.module_name, 'unassign', 'Remove a user from a role or task')
|
||||
self.Irc.build_command(2, self.module_name, 'owner', 'Give channel ownership to a user')
|
||||
self.Irc.build_command(2, self.module_name, 'deowner', 'Remove channel ownership from a user')
|
||||
self.Irc.build_command(2, self.module_name, 'protect', 'Protect a user from being kicked')
|
||||
self.Irc.build_command(2, self.module_name, 'deprotect', 'Remove protection from a user')
|
||||
self.Irc.build_command(2, self.module_name, 'op', 'Grant operator privileges to a user')
|
||||
self.Irc.build_command(2, self.module_name, 'deop', 'Remove operator privileges from a user')
|
||||
self.Irc.build_command(1, self.module_name, 'halfop', 'Grant half-operator privileges to a user')
|
||||
self.Irc.build_command(1, self.module_name, 'dehalfop', 'Remove half-operator privileges from a user')
|
||||
self.Irc.build_command(1, self.module_name, 'voice', 'Grant voice privileges to a user')
|
||||
|
||||
Reference in New Issue
Block a user