mirror of
https://github.com/TotalFreedomMC/TotalFreedomBot.git
synced 2024-12-22 15:44:57 +00:00
Update miscellaneous.py
This commit is contained in:
parent
383af41fa8
commit
5eab00de0e
1 changed files with 4 additions and 1 deletions
|
@ -64,8 +64,11 @@ class Miscellaneous(commands.Cog):
|
|||
self.bot.telnet_object.session.read_until(bytes('\r\n', 'ascii'), 2)
|
||||
next_line = self.bot.telnet_object.session.read_until(bytes('\r\n', 'ascii'), 2)
|
||||
em.description = f"Response from server: {next_line.decode('utf-8')}"
|
||||
await ctx.send(embed=em)
|
||||
else:
|
||||
em.description = f'Command **{args[0]}** not found.'
|
||||
em.colour = 0xFF0000
|
||||
|
||||
await ctx.send(embed=em)
|
||||
|
||||
@is_dev()
|
||||
@commands.command()
|
||||
|
|
Loading…
Reference in a new issue