diff options
author | 2021-05-15 12:53:00 -0400 | |
---|---|---|
committer | 2021-05-15 12:53:00 -0400 | |
commit | 55d472a97efea392b4eb2b198ffa6f5f5026072d (patch) | |
tree | d906bac511932bc33adba099efbcf9904c46dac3 /bot/exts/evergreen/pythonfacts.py | |
parent | chore: Update myvalenstate.py (diff) |
chore: Make all aliases in commands tuples
Diffstat (limited to 'bot/exts/evergreen/pythonfacts.py')
-rw-r--r-- | bot/exts/evergreen/pythonfacts.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/exts/evergreen/pythonfacts.py b/bot/exts/evergreen/pythonfacts.py index e162c9bd..606545ab 100644 --- a/bot/exts/evergreen/pythonfacts.py +++ b/bot/exts/evergreen/pythonfacts.py @@ -15,7 +15,7 @@ COLORS = itertools.cycle([Colours.python_blue, Colours.python_yellow]) class PythonFacts(commands.Cog): """Sends a random fun fact about Python.""" - @commands.command(name="pythonfact", aliases=["pyfact"]) + @commands.command(name="pythonfact", aliases=("pyfact",)) async def get_python_fact(self, ctx: commands.Context) -> None: """Sends a Random fun fact about Python.""" embed = discord.Embed( |