Refactor command definitions across multiple cogs to replace hybrid commands with regular commands for consistency. This change enhances clarity and standardizes command handling throughout the bot.
This commit is contained in:
@@ -197,7 +197,7 @@ class Extra(commands.Cog):
|
||||
|
||||
|
||||
|
||||
@commands.hybrid_command(name="uptime", description="Shows the Bot's Uptime.")
|
||||
@commands.command(name="uptime", description="Shows the Bot's Uptime.")
|
||||
@blacklist_check()
|
||||
@ignore_check()
|
||||
@commands.cooldown(1, 3, commands.BucketType.user)
|
||||
@@ -447,7 +447,7 @@ class Extra(commands.Cog):
|
||||
|
||||
|
||||
|
||||
@commands.hybrid_command(name="boostcount",
|
||||
@commands.command(name="boostcount",
|
||||
help="Shows boosts count",
|
||||
usage="boosts",
|
||||
aliases=["bco"],
|
||||
@@ -788,7 +788,7 @@ class Extra(commands.Cog):
|
||||
|
||||
|
||||
|
||||
@commands.hybrid_command(name="joined-at",
|
||||
@commands.command(name="joined-at",
|
||||
help="Shows when a user joined",
|
||||
usage="joined-at [user]",
|
||||
with_app_command=True)
|
||||
@@ -799,7 +799,7 @@ class Extra(commands.Cog):
|
||||
joined = ctx.author.joined_at.strftime("%a, %d %b %Y %I:%M %p")
|
||||
await ctx.send(view=CV2("joined-at", f"**`{joined}`**"))
|
||||
|
||||
@commands.hybrid_command(name="github", usage="github [search]")
|
||||
@commands.command(name="github", usage="github [search]")
|
||||
@blacklist_check()
|
||||
@ignore_check()
|
||||
@commands.cooldown(1, 3, commands.BucketType.user)
|
||||
@@ -906,7 +906,7 @@ class Extra(commands.Cog):
|
||||
|
||||
|
||||
|
||||
@commands.hybrid_command(name="permissions", aliases= ["perms"],
|
||||
@commands.command(name="permissions", aliases= ["perms"],
|
||||
help="Check and list the key permissions of a specific user",
|
||||
usage="perms <user>",
|
||||
with_app_command=True)
|
||||
|
||||
Reference in New Issue
Block a user