Skip to content

Commit 9dfb45b

Browse files
fuck off mypy
Signed-off-by: Matty Widdop <18513864+MattyTheHacker@users.noreply.github.com>
1 parent 2342ab5 commit 9dfb45b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cogs/make_member.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ async def callback(self, interaction: discord.Interaction) -> None:
267267

268268
if await is_id_a_community_group_member(member_id=student_id):
269269
await MakeMemberModalCommandCog.give_member_role(
270-
self=MakeMemberModalCommandCog(bot=interaction.client), interaction=interaction
270+
self=MakeMemberModalCommandCog(bot=interaction.client), interaction=interaction # type: ignore[arg-type]
271271
)
272272
await interaction.response.send_message(content="Action complete.")
273273
return
@@ -304,7 +304,7 @@ async def give_member_role(self, interaction: discord.Interaction) -> None:
304304
"""Give the member role to the user who interacted with the modal."""
305305
if not isinstance(interaction.user, discord.Member):
306306
await self.command_send_error(
307-
ctx=TeXBotApplicationContext(bot=interaction.client, interaction=interaction),
307+
ctx=TeXBotApplicationContext(bot=interaction.client, interaction=interaction), # type: ignore[arg-type]
308308
message="User is not a member.",
309309
)
310310
return

0 commit comments

Comments
 (0)