mirror of
https://github.com/TotalFreedomMC/TotalFreedomBot.git
synced 2024-12-22 23:54:58 +00:00
Update server_commands.py
This commit is contained in:
parent
a2b3020e6b
commit
1431cd1b2a
1 changed files with 1 additions and 1 deletions
|
@ -82,7 +82,7 @@ class ServerCommands(commands.Cog):
|
||||||
for x in range(len(args)):
|
for x in range(len(args)):
|
||||||
command += f'{args[x]} '
|
command += f'{args[x]} '
|
||||||
try:
|
try:
|
||||||
if args[0] in ['mute', 'stfu', 'gtfo', 'ban', 'noob', 'tban', 'tempban', 'warn', 'mv', 'kick', 'cc']:
|
if args[0] in ['mute', 'stfu', 'gtfo', 'ban', 'unban', 'unmute', 'smite', 'noob', 'tban', 'tempban', 'warn', 'mv', 'kick', 'cc','say']:
|
||||||
self.bot.telnet_object.session.write(bytes(command, 'ascii') + b"\r\n")
|
self.bot.telnet_object.session.write(bytes(command, 'ascii') + b"\r\n")
|
||||||
elif args[0] == 'slconfig':
|
elif args[0] == 'slconfig':
|
||||||
if args[1] not in ['add', 'remove']:
|
if args[1] not in ['add', 'remove']:
|
||||||
|
|
Loading…
Reference in a new issue