✏️ - Renamed args name in commands functions so the $help command make sense.

This commit is contained in:
Florian SYLVAIN
2021-03-06 20:15:26 +01:00
parent f3a48bd505
commit e2a406da43
4 changed files with 22 additions and 23 deletions
+3 -4
View File
@@ -1,6 +1,5 @@
import discord
import asyncio
from discord.ext import commands
from discord.ext.commands.cooldowns import BucketType
@@ -14,9 +13,9 @@ class OtherCmds(commands.Cog):
@commands.command()
@commands.cooldown(1, 2, commands.BucketType.guild)
async def issou(self, ctx, arg1: discord.User = None):
if arg1 is not None:
user = arg1
async def issou(self, ctx, username: discord.User = None):
if username is not None:
user = username
else:
user = ctx.message.author
try: