mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-13 17:20:14 +00:00
Basic proxy functionality fixed
This commit is contained in:
parent
c8caeadec4
commit
4217d5d5d8
6 changed files with 499 additions and 369 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue