From eb615591a64a7cda910ac6472b4985a908983725 Mon Sep 17 00:00:00 2001 From: sgoudham Date: Tue, 30 Jun 2020 04:20:28 +0100 Subject: [PATCH] Getting rid of @commands. --- cogs/OwOText.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cogs/OwOText.py b/cogs/OwOText.py index b8f27cea..541d24d3 100644 --- a/cogs/OwOText.py +++ b/cogs/OwOText.py @@ -1,6 +1,6 @@ from discord.ext import commands # OwO Impowt da wibwawy ÙωÙ -from discord.ext.commands import BucketType, cooldown +from discord.ext.commands import BucketType, cooldown, command from owotext import OwO @@ -10,7 +10,7 @@ class OwOText(commands.Cog): self.bot = bot # ~owo command allows for text to be 'converted to OWO' - @commands.command() + @command(name="owo", aliases=["Owo", "OwO"]) @cooldown(1, 1, BucketType.user) async def owo(self, ctx): # Making sure that the string that gets converted is excluding the ~owo