mirror of
https://github.com/TotalFreedomMC/TotalFreedomBot.git
synced 2024-06-08 21:05:01 +00:00
Update server_commands.py
This commit is contained in:
parent
3cf508e575
commit
6eee3fb161
|
@ -82,7 +82,7 @@ class ServerCommands(commands.Cog):
|
|||
for x in range(len(args)):
|
||||
command += f'{args[x]} '
|
||||
try:
|
||||
if args[0] in ['mute', 'stfu', 'gtfo', 'ban', 'noob', 'tban', 'tempban', 'warn', 'mv', 'kick']:
|
||||
if args[0] in ['mute', 'stfu', 'gtfo', 'ban', 'noob', 'tban', 'tempban', 'warn', 'mv', 'kick', 'cc']:
|
||||
self.bot.telnet_object.session.write(bytes(command, 'ascii') + b"\r\n")
|
||||
else:
|
||||
raise no_permission(['IS_SENIOR_ADMIN'])
|
||||
|
|
Loading…
Reference in a new issue