Process messages

This commit is contained in:
officereso 2020-02-26 21:20:12 -06:00
parent 8c5697a883
commit 27500d60c2
3 changed files with 3 additions and 0 deletions

View File

@ -113,6 +113,7 @@ class AddServer(commands.Cog):
except asyncio.TimeoutError:
await ctx.channel.send("Process timeout")
return
await self.client.process_commands(ctx)
def setup(client):

View File

@ -43,6 +43,7 @@ class NewServer(commands.Cog):
cur.execute(f"INSERT INTO servers (ID, name, tags, invite, description) VALUES ({invite.guild.id},'{invite.guild.name}','{tags.content}','{invite.code}','{description.content}')")
else:
await ctx.channel.send("Invalid invite")
await self.client.process_commands(ctx)
def setup(client):

View File

@ -50,6 +50,7 @@ class RemoveServer(commands.Cog):
"Once the bot is added restart the verification process "
"using ``remove server`` in this DM\n"
"After ownership is verified the bot can be removed.")
await self.client.process_commands(ctx)
# todo