mirror of
https://github.com/Floriansylvain/Risitas_BOT.git
synced 2026-08-19 19:53:19 +02:00
✏️ - Renamed args name in commands functions so the $help command make sense.
This commit is contained in:
+3
-4
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user