Basic proxy functionality fixed

This commit is contained in:
Ske
2018-10-27 22:00:41 +02:00
parent c8caeadec4
commit 4217d5d5d8
6 changed files with 499 additions and 369 deletions

View File

@@ -118,7 +118,7 @@ class CommandContext:
raise CommandError("Timed out - try again.")
return reaction.reaction.emoji == ""
async def confirm_text(self, user: discord.Member, channel: discord.Channel, confirm_text: str, message: str):
async def confirm_text(self, user: discord.Member, channel: discord.TextChannel, confirm_text: str, message: str):
await self.reply(message)
message = await self.client.wait_for_message(channel=channel, author=user, timeout=60.0*5)