diff options
| author | 2020-05-13 19:56:27 +0300 | |
|---|---|---|
| committer | 2020-05-13 19:56:27 +0300 | |
| commit | 34509a59664fc7d00e1eff85800d1e35e33ccb85 (patch) | |
| tree | 1bc917c37c1a7bed97b89511c095d1eb14261581 | |
| parent | PEP Improvisations: Moved PEP functions to one region (diff) | |
PEP Improvisations: Added `staticmethod` decorator to `get_pep_zero_embed`
| -rw-r--r-- | bot/cogs/utils.py | 3 |
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)**", |