Update miscellaneous.py

This commit is contained in:
Elmon11 2020-11-24 20:53:33 +01:00 committed by GitHub
parent 383af41fa8
commit 5eab00de0e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -64,8 +64,11 @@ class Miscellaneous(commands.Cog):
self.bot.telnet_object.session.read_until(bytes('\r\n', 'ascii'), 2) 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) 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')}" 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() @is_dev()
@commands.command() @commands.command()