@@ -153,7 +153,6 @@ async def on_message_edit(
153153 isinstance (before .channel , discord .DMChannel )
154154 and before .author .id in active_threads
155155 ):
156-
157156 if await Ts_client .models .ModmailBan .query .where (
158157 Ts_client .models .ModmailBan .user_id == str (before .author .id )
159158 ).gino .first ():
@@ -452,7 +451,6 @@ async def create_thread(
452451 if not thread .name .startswith ("[OPEN]" ) and thread .name .split ("|" )[
453452 - 1
454453 ].strip () == str (user .id ):
455-
456454 past_thread_count += 1
457455
458456 if past_thread_count == 0 :
@@ -1197,7 +1195,6 @@ async def contact(self: Self, ctx: commands.Context, user: discord.User) -> None
11971195 )
11981196
11991197 case ui .ConfirmResponse .CONFIRMED :
1200-
12011198 # Makes sure the user can reply if they were timed out from creating threads
12021199 if user .id in delayed_people :
12031200 del delayed_people [user .id ]
@@ -1207,7 +1204,6 @@ async def contact(self: Self, ctx: commands.Context, user: discord.User) -> None
12071204 user = user ,
12081205 source_channel = ctx .channel ,
12091206 ):
1210-
12111207 await auxiliary .send_confirm_embed (
12121208 message = "Thread successfully created!" , channel = ctx .channel
12131209 )
@@ -1259,7 +1255,6 @@ async def selfcontact(self: Self, ctx: commands.Context) -> None:
12591255 )
12601256
12611257 case ui .ConfirmResponse .CONFIRMED :
1262-
12631258 # Makes sure the user can reply if they were timed out from creating threads
12641259 if ctx .author in delayed_people :
12651260 del delayed_people [ctx .author .id ]
@@ -1269,7 +1264,6 @@ async def selfcontact(self: Self, ctx: commands.Context) -> None:
12691264 user = ctx .author ,
12701265 source_channel = ctx .channel ,
12711266 ):
1272-
12731267 await auxiliary .send_confirm_embed (
12741268 message = "Thread successfully created!" , channel = ctx .channel
12751269 )
0 commit comments