File tree Expand file tree Collapse file tree 1 file changed +0
-14
lines changed Expand file tree Collapse file tree 1 file changed +0
-14
lines changed Original file line number Diff line number Diff line change @@ -1294,20 +1294,6 @@ async def create(
1294
1294
1295
1295
self .cache [recipient .id ] = thread
1296
1296
1297
- # Schedule thread setup for later
1298
- cat = self .bot .main_category
1299
- if category is None and len (cat .channels ) >= 49 :
1300
- fallback_id = self .bot .config ["fallback_category_id" ]
1301
- if fallback_id :
1302
- fallback = discord .utils .get (cat .guild .categories , id = int (fallback_id ))
1303
- if fallback and len (fallback .channels ) < 49 :
1304
- category = fallback
1305
-
1306
- if not category :
1307
- category = await cat .clone (name = "Fallback Modmail" )
1308
- self .bot .config .set ("fallback_category_id" , str (category .id ))
1309
- await self .bot .config .update ()
1310
-
1311
1297
if (message or not manual_trigger ) and self .bot .config ["confirm_thread_creation" ]:
1312
1298
if not manual_trigger :
1313
1299
destination = recipient
You can’t perform that action at this time.
0 commit comments