Skip to content

Commit e07c5c8

Browse files
fix mypy errors
1 parent bab4957 commit e07c5c8

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

cogs/add_users_to_threads_and_channels.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ async def add_users_or_roles_silently(
101101
)
102102
await message.edit(content=f"{users_or_roles.mention}")
103103
await message.delete(delay=1)
104+
return
104105

105106
await channel_or_thread.set_permissions(
106107
target=users_or_roles,
@@ -151,6 +152,7 @@ async def add_users_or_roles_with_ping(
151152
channel_or_thread,
152153
)
153154
return
155+
return
154156

155157
await channel_or_thread.set_permissions(
156158
target=users_or_roles,

0 commit comments

Comments
 (0)