diff options
| author | 2020-05-19 07:59:21 +0300 | |
|---|---|---|
| committer | 2020-05-19 07:59:21 +0300 | |
| commit | 3081aad0cb360436c451b9a4515d494711adaf81 (patch) | |
| tree | cc621017f63f9263e73a4e8595dd1313ea8285d6 | |
| parent | Stats: Fixed stat names (diff) | |
Stats: Fix docstrings
Co-authored-by: Joseph Banks <[email protected]>
| -rw-r--r-- | bot/cogs/stats.py | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/bot/cogs/stats.py b/bot/cogs/stats.py index acee1f5a9..9baf222e2 100644 --- a/bot/cogs/stats.py +++ b/bot/cogs/stats.py @@ -106,14 +106,14 @@ class Stats(Cog):      @loop(hours=1)      async def update_guild_boost(self) -> None: -        """Update every hour guild boosts amount + level.""" +        """Post the server boost level and tier every hour."""          await self.bot.wait_until_guild_available()          g = self.bot.get_guild(Guild.id)          self.bot.stats.gauge("boost.amount", g.premium_subscription_count)          self.bot.stats.gauge("boost.tier", g.premium_tier)      def cog_unload(self) -> None: -        """Stop guild boost stat collecting task on Cog unload.""" +        """Stop the boost statistic task on unload of the Cog."""          self.update_guild_boost.stop() | 
