File tree Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -92,11 +92,7 @@ def __init__(
92
92
93
93
# used if embed is None
94
94
self .content = ""
95
- if embed is not None :
96
- if title :
97
- raise TypeError ("Cannot set title if embed is None." )
98
- self .title = None
99
- else :
95
+ if embed is None :
100
96
self .title = title
101
97
# need to set the max_size down a few to be able to set a "footer"
102
98
# page indicator is "page xx of xx"
@@ -301,7 +297,6 @@ async def send_page(self, interaction: Interaction) -> None:
301
297
if self .embed :
302
298
await interaction .message .edit (embed = self .embed , view = self )
303
299
else :
304
- print (len (self .content ))
305
300
await interaction .message .edit (content = self .content , view = self )
306
301
307
302
@ui .button (label = JUMP_FIRST_LABEL , custom_id = "pag_jump_first" , style = ButtonStyle .primary )
You can’t perform that action at this time.
0 commit comments