fix: Increase default post limit in _fetch_posts_logic to accommodate more results
This commit is contained in:
parent
3f0d36f236
commit
2d6aa1dc79
@ -223,7 +223,7 @@ class GelbooruWatcherBaseCog(commands.Cog, abc.ABC, metaclass=GelbooruWatcherMet
|
||||
async def _fetch_posts_logic(self, interaction_or_ctx: typing.Union[discord.Interaction, commands.Context, str], tags: str, pid_override: typing.Optional[int] = None, limit_override: typing.Optional[int] = None, hidden: bool = False) -> typing.Union[str, tuple[str, list], list]:
|
||||
all_results = []
|
||||
current_pid = pid_override if pid_override is not None else 0
|
||||
limit = limit_override if limit_override is not None else 1000
|
||||
limit = limit_override if limit_override is not None else 100000
|
||||
|
||||
if not isinstance(interaction_or_ctx, str) and interaction_or_ctx:
|
||||
if self.is_nsfw_site:
|
||||
|
Loading…
x
Reference in New Issue
Block a user