Fix paginator send

pull/108/head
Stijn De Clercq 2022-02-15 17:05:51 +01:00
parent 5cccf81c59
commit 959ca627da
1 changed files with 2 additions and 2 deletions

View File

@ -97,9 +97,9 @@ class Leaderboard(Paginated, ABC):
async def send(self, **kwargs) -> discord.Message: async def send(self, **kwargs) -> discord.Message:
if self.data is None: if self.data is None:
return await self.empty_leaderboard(self.ctx, mention_author=False, **kwargs) return await self.empty_leaderboard(self.ctx, **kwargs)
return await super().send(mention_author=False, **kwargs) return await super().send(**kwargs)
@dataclass @dataclass