mirror of
https://github.com/polyjitter/searchbot-discord.git
synced 2024-08-14 22:46:55 +00:00
Botlist stuff + repl fix
This commit is contained in:
parent
68ce4ade6f
commit
ad598fbd72
2 changed files with 4 additions and 3 deletions
|
@ -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!**")
|
||||
|
|
|
@ -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(
|
||||
|
|
Loading…
Reference in a new issue