diff options
| author | 2020-08-29 18:37:32 +0200 | |
|---|---|---|
| committer | 2020-08-29 18:37:32 +0200 | |
| commit | ad305f2eb3bb33f5ce7bb3abd7def9f436928c8e (patch) | |
| tree | c7516ac2c88cc9bc51ff912355cea52565351af5 | |
| parent | Verification: stop tasks on suspicious 403 (diff) | |
Verification: denote `_maybe_start_tasks` as private
Consistency with the new `_stop_tasks` method.
Diffstat (limited to '')
| -rw-r--r-- | bot/cogs/verification.py | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/bot/cogs/verification.py b/bot/cogs/verification.py index 107ae1178..5c8962577 100644 --- a/bot/cogs/verification.py +++ b/bot/cogs/verification.py @@ -149,7 +149,7 @@ class Verification(Cog):      def __init__(self, bot: Bot) -> None:          """Start internal tasks."""          self.bot = bot -        self.bot.loop.create_task(self.maybe_start_tasks()) +        self.bot.loop.create_task(self._maybe_start_tasks())      def cog_unload(self) -> None:          """ @@ -164,7 +164,7 @@ class Verification(Cog):          """Get currently loaded ModLog cog instance."""          return self.bot.get_cog("ModLog") -    async def maybe_start_tasks(self) -> None: +    async def _maybe_start_tasks(self) -> None:          """          Poll Redis to check whether internal tasks should start. | 
