diff --git a/modmail/utils/pagination.py b/modmail/utils/pagination.py index 4c71983a..877bc2d1 100644 --- a/modmail/utils/pagination.py +++ b/modmail/utils/pagination.py @@ -92,11 +92,7 @@ def __init__( # used if embed is None self.content = "" - if embed is not None: - if title: - raise TypeError("Cannot set title if embed is None.") - self.title = None - else: + if embed is None: self.title = title # need to set the max_size down a few to be able to set a "footer" # page indicator is "page xx of xx" @@ -301,7 +297,6 @@ async def send_page(self, interaction: Interaction) -> None: if self.embed: await interaction.message.edit(embed=self.embed, view=self) else: - print(len(self.content)) await interaction.message.edit(content=self.content, view=self) @ui.button(label=JUMP_FIRST_LABEL, custom_id="pag_jump_first", style=ButtonStyle.primary)