@@ -180,7 +180,7 @@ async def _restore_persistent_views(self):
180180
181181 # Fetch the message to ensure it exists
182182 try :
183- message = await channel .fetch_message (message_id )
183+ await channel .fetch_message (message_id )
184184 # Create and attach the persistent view
185185 view = TicketPanelView (self )
186186 # The view is automatically registered due to persistent custom_id
@@ -1090,9 +1090,9 @@ async def ticket_log_setup(self, ctx, channel: Optional[discord.TextChannel] = N
10901090 embed .add_field (
10911091 name = "ℹ️ Information" ,
10921092 value = "Ticket actions (create, close, claim) will be logged to this channel.\n \n "
1093- f "• **Change it:** `/ticketlog #new-channel`\n "
1094- f "• **Disable custom:** `/ticketlog-disable`\n "
1095- f "• **Quick disable:** Rename this channel" ,
1093+ "• **Change it:** `/ticketlog #new-channel`\n "
1094+ "• **Disable custom:** `/ticketlog-disable`\n "
1095+ "• **Quick disable:** Rename this channel" ,
10961096 inline = False
10971097 )
10981098 else :
@@ -1265,10 +1265,10 @@ async def ticket_support_role(self, ctx, role: Optional[discord.Role] = None):
12651265 )
12661266 embed .add_field (
12671267 name = "ℹ️ Information" ,
1268- value = f "This role will be pinged when new tickets are created.\n \n "
1269- f "• **Change it:** `/ticketsupport @new-role`\n "
1270- f "• **Remove it:** `/ticketsupport-disable`\n "
1271- f "• **Set via panel:** `/ticketpanel #channel @role`" ,
1268+ value = "This role will be pinged when new tickets are created.\n \n "
1269+ "• **Change it:** `/ticketsupport @new-role`\n "
1270+ "• **Remove it:** `/ticketsupport-disable`\n "
1271+ "• **Set via panel:** `/ticketpanel #channel @role`" ,
12721272 inline = False
12731273 )
12741274 else :
@@ -1670,10 +1670,10 @@ async def ticket_report_role(self, ctx, role: Optional[discord.Role] = None):
16701670 )
16711671 embed .add_field (
16721672 name = "ℹ️ Information" ,
1673- value = f "This role will be pinged when report tickets are created.\n \n "
1674- f "• **Change it:** `/ticketreport @new-role`\n "
1675- f "• **Remove it:** `/ticketreport-disable`\n "
1676- f "• **Set via panel:** `/ticketpanel report_role:@role`" ,
1673+ value = "This role will be pinged when report tickets are created.\n \n "
1674+ "• **Change it:** `/ticketreport @new-role`\n "
1675+ "• **Remove it:** `/ticketreport-disable`\n "
1676+ "• **Set via panel:** `/ticketpanel report_role:@role`" ,
16771677 inline = False
16781678 )
16791679 else :
@@ -1809,10 +1809,10 @@ async def ticket_partner_role(self, ctx, role: Optional[discord.Role] = None):
18091809 )
18101810 embed .add_field (
18111811 name = "ℹ️ Information" ,
1812- value = f "This role will be pinged when partnership tickets are created.\n \n "
1813- f "• **Change it:** `/ticketpartner @new-role`\n "
1814- f "• **Remove it:** `/ticketpartner-disable`\n "
1815- f "• **Set via panel:** `/ticketpanel partner_role:@role`" ,
1812+ value = "This role will be pinged when partnership tickets are created.\n \n "
1813+ "• **Change it:** `/ticketpartner @new-role`\n "
1814+ "• **Remove it:** `/ticketpartner-disable`\n "
1815+ "• **Set via panel:** `/ticketpanel partner_role:@role`" ,
18161816 inline = False
18171817 )
18181818 else :
0 commit comments