1
Fork 0
mirror of https://github.com/wlinator/luminara.git synced 2024-10-02 16:23:12 +00:00

Change some aliases

This commit is contained in:
wlinator 2024-09-02 03:01:42 -04:00
parent e78707c83c
commit 5b9c51ce56
5 changed files with 5 additions and 5 deletions

View file

@ -10,7 +10,7 @@ class Award(commands.Cog):
def __init__(self, bot: commands.Bot):
self.bot = bot
@commands.command(name="award")
@commands.command(name="award", aliases=["aw"])
@commands.is_owner()
async def award_command(
self,

View file

@ -21,7 +21,7 @@ class Slots(commands.Cog):
@commands.hybrid_command(
name="slots",
description="Play the slots machine",
aliases=["slot"],
)
@commands.guild_only()
async def slots(

View file

@ -13,7 +13,7 @@ class Uptime(commands.Cog):
self.bot: commands.Bot = bot
self.start_time: datetime = discord.utils.utcnow()
@commands.hybrid_command(name="uptime")
@commands.hybrid_command(name="uptime", aliases=["ut"])
async def uptime(self, ctx: commands.Context[commands.Bot]) -> None:
"""
Uptime command.

View file

@ -178,7 +178,7 @@ class Cases(commands.Cog):
await menu.start()
@commands.hybrid_command(name="editcase", aliases=["ec"])
@commands.hybrid_command(name="editcase", aliases=["ec", "uc"])
@commands.has_permissions(manage_messages=True)
@commands.guild_only()
async def edit_case_reason(

View file

@ -17,7 +17,7 @@ class Timeout(commands.Cog):
def __init__(self, bot: commands.Bot):
self.bot = bot
@commands.hybrid_command(name="timeout", aliases=["to"])
@commands.hybrid_command(name="timeout", aliases=["t", "to"])
@commands.has_permissions(moderate_members=True)
@commands.bot_has_permissions(moderate_members=True)
@commands.guild_only()