aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar ks129 <[email protected]>2020-05-13 19:56:27 +0300
committerGravatar ks129 <[email protected]>2020-05-13 19:56:27 +0300
commit34509a59664fc7d00e1eff85800d1e35e33ccb85 (patch)
tree1bc917c37c1a7bed97b89511c095d1eb14261581
parentPEP Improvisations: Moved PEP functions to one region (diff)
PEP Improvisations: Added `staticmethod` decorator to `get_pep_zero_embed`
-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 7c6541ccb..e56ffb4dd 100644
--- a/bot/cogs/utils.py
+++ b/bot/cogs/utils.py
@@ -264,7 +264,8 @@ class Utils(Cog):
pep_embed = await self.get_pep_embed(pep_number)
await ctx.send(embed=pep_embed)
- async def get_pep_zero_embed(self) -> Embed:
+ @staticmethod
+ async def get_pep_zero_embed() -> Embed:
"""Send information about PEP 0."""
pep_embed = Embed(
title=f"**PEP 0 - Index of Python Enhancement Proposals (PEPs)**",