aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar ks129 <[email protected]>2020-06-22 18:24:40 +0300
committerGravatar ks129 <[email protected]>2020-06-22 18:24:40 +0300
commit674d976b706ff42039ea1ea12e0b6150f180e874 (patch)
tree99c2b19a5d051d7bf6dd4724e737a1c161dc6cf5
parentMerge branch 'master' into pep-improvisations (diff)
PEP: Define PEP region for grouping functions
-rw-r--r--bot/cogs/utils.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/bot/cogs/utils.py b/bot/cogs/utils.py
index 73337f012..d4015e235 100644
--- a/bot/cogs/utils.py
+++ b/bot/cogs/utils.py
@@ -192,7 +192,7 @@ class Utils(Cog):
for reaction in options:
await message.add_reaction(reaction)
- # PEPs area
+ # region: PEP
async def refresh_peps_urls(self) -> None:
"""Refresh PEP URLs listing in every 3 hours."""
@@ -292,6 +292,7 @@ class Utils(Cog):
embed = Embed(title="Unexpected error", description=error_message, colour=Colour.red())
await ctx.send(embed=embed)
return
+ # endregion
def setup(bot: Bot) -> None: