Botlist stuff + repl fix

This commit is contained in:
Adriene Hutchins 2020-02-29 15:26:57 -05:00
parent 68ce4ade6f
commit ad598fbd72
2 changed files with 4 additions and 3 deletions

View File

@ -68,7 +68,7 @@ class Botlist(commands.Cog):
async def listupdate(self, ctx):
"""Updates statistics on botlists."""
msg = await ctx.send("**Updating...**")
msg = await ctx.send("<a:loading:393852367751086090> **Updating...**")
responses = await self._update_logic()
print(responses)
await msg.edit(content="**Updated!**")

View File

@ -59,7 +59,8 @@ class Developer(commands.Cog):
return haste_url
@commands.group(name='shell',
aliases=['ipython', 'repl', 'longexec'])
aliases=['ipython', 'repl', 'longexec'],
invoke_without_command=True)
async def repl(self, ctx, *, name: str = None):
"""Head on impact with an interactive python shell."""
# TODO Minimize local variables
@ -433,7 +434,7 @@ class Developer(commands.Cog):
async def system(self, ctx, *, command: str):
"""Runs system commands."""
message = await ctx.send('<a:typing:401162479041773568> Processing...')
message = await ctx.send('<a:loading:393852367751086090> Processing...')
result = []
try:
process = subprocess.Popen(command.split(