Doh, added 1 too many positional arguments
This commit is contained in:
parent
60581601c6
commit
b47ff62a58
@ -223,6 +223,4 @@ class Recruitment(commands.Cog):
|
||||
|
||||
async def get_answers(self, author: discord.Member) -> discord.Message:
|
||||
"""Wait for the user to send a message."""
|
||||
return await self.bot.wait_for(
|
||||
"message", lambda m: m.author == author and m.guild is None
|
||||
)
|
||||
return await self.bot.wait_for("message", check=lambda m: m.author == author and isinstance(m.channel, discord.DMChannel))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user