mirror of
https://github.com/wlinator/luminara.git
synced 2024-10-02 20:23:12 +00:00
Change some aliases
This commit is contained in:
parent
e78707c83c
commit
5b9c51ce56
5 changed files with 5 additions and 5 deletions
|
@ -10,7 +10,7 @@ class Award(commands.Cog):
|
||||||
def __init__(self, bot: commands.Bot):
|
def __init__(self, bot: commands.Bot):
|
||||||
self.bot = bot
|
self.bot = bot
|
||||||
|
|
||||||
@commands.command(name="award")
|
@commands.command(name="award", aliases=["aw"])
|
||||||
@commands.is_owner()
|
@commands.is_owner()
|
||||||
async def award_command(
|
async def award_command(
|
||||||
self,
|
self,
|
||||||
|
|
|
@ -21,7 +21,7 @@ class Slots(commands.Cog):
|
||||||
|
|
||||||
@commands.hybrid_command(
|
@commands.hybrid_command(
|
||||||
name="slots",
|
name="slots",
|
||||||
description="Play the slots machine",
|
aliases=["slot"],
|
||||||
)
|
)
|
||||||
@commands.guild_only()
|
@commands.guild_only()
|
||||||
async def slots(
|
async def slots(
|
||||||
|
|
|
@ -13,7 +13,7 @@ class Uptime(commands.Cog):
|
||||||
self.bot: commands.Bot = bot
|
self.bot: commands.Bot = bot
|
||||||
self.start_time: datetime = discord.utils.utcnow()
|
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:
|
async def uptime(self, ctx: commands.Context[commands.Bot]) -> None:
|
||||||
"""
|
"""
|
||||||
Uptime command.
|
Uptime command.
|
||||||
|
|
|
@ -178,7 +178,7 @@ class Cases(commands.Cog):
|
||||||
|
|
||||||
await menu.start()
|
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.has_permissions(manage_messages=True)
|
||||||
@commands.guild_only()
|
@commands.guild_only()
|
||||||
async def edit_case_reason(
|
async def edit_case_reason(
|
||||||
|
|
|
@ -17,7 +17,7 @@ class Timeout(commands.Cog):
|
||||||
def __init__(self, bot: commands.Bot):
|
def __init__(self, bot: commands.Bot):
|
||||||
self.bot = 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.has_permissions(moderate_members=True)
|
||||||
@commands.bot_has_permissions(moderate_members=True)
|
@commands.bot_has_permissions(moderate_members=True)
|
||||||
@commands.guild_only()
|
@commands.guild_only()
|
||||||
|
|
Loading…
Reference in a new issue