Update the button looks.

This commit is contained in:
2025-03-19 18:04:49 -04:00
parent 842a385d7d
commit 10e561b0e3
2 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -30,7 +30,7 @@ class TestCog(commands.Cog, name="Test commands."):
@test.subcommand() @test.subcommand()
@is_me() @is_me()
async def election_start(self, interaction: nextcord.Interaction) -> None: async def open_raid(self, interaction: nextcord.Interaction) -> None:
""" """
Force starts election. Force starts election.
+6 -6
View File
@@ -9,7 +9,7 @@ class OpenRaid(nextcord.ui.View):
def __init__(self) -> None: def __init__(self) -> None:
super().__init__(timeout=None, auto_defer=True) super().__init__(timeout=None, auto_defer=True)
@nextcord.ui.button(label="Tank", style=nextcord.ButtonStyle.blurple) @nextcord.ui.button(label="Tank", style=nextcord.ButtonStyle.blurple, emoji="🛡️")
async def tank(self, button: nextcord.ui.Button, interaction: nextcord.Interaction) -> None: async def tank(self, button: nextcord.ui.Button, interaction: nextcord.Interaction) -> None:
""" """
Signs a user up as a tank. Signs a user up as a tank.
@@ -17,12 +17,12 @@ class OpenRaid(nextcord.ui.View):
Removes them if they are already signed up. Removes them if they are already signed up.
Args: Args:
button (nextcord.ui.Button): Unneeded. button (nextcord.ui.Button): Un-used.
interaction (nextcord.Interaction): Interaction with command. interaction (nextcord.Interaction): Interaction with command.
""" """
@nextcord.ui.button(label="Healer", style=nextcord.ButtonStyle.green) @nextcord.ui.button(label="Healer", style=nextcord.ButtonStyle.green, emoji="❤️")
async def healer(self, button: nextcord.ui.Button, interaction: nextcord.Interaction) -> None: async def healer(self, button: nextcord.ui.Button, interaction: nextcord.Interaction) -> None:
""" """
Signs a user up as a healer. Signs a user up as a healer.
@@ -30,12 +30,12 @@ class OpenRaid(nextcord.ui.View):
Removes them if they are already signed up. Removes them if they are already signed up.
Args: Args:
button (nextcord.ui.Button): Unneeded. button (nextcord.ui.Button): Un-used.
interaction (nextcord.Interaction): Interaction with command. interaction (nextcord.Interaction): Interaction with command.
""" """
@nextcord.ui.button(label="DPS", style=nextcord.ButtonStyle.red) @nextcord.ui.button(label="DPS", style=nextcord.ButtonStyle.red, emoji="⚔️")
async def dps(self, button: nextcord.ui.Button, interaction: nextcord.Interaction) -> None: async def dps(self, button: nextcord.ui.Button, interaction: nextcord.Interaction) -> None:
""" """
Signs a user up as dps. Signs a user up as dps.
@@ -43,7 +43,7 @@ class OpenRaid(nextcord.ui.View):
Removes them if they are already signed up. Removes them if they are already signed up.
Args: Args:
button (nextcord.ui.Button): Unneeded. button (nextcord.ui.Button): Un-used.
interaction (nextcord.Interaction): Interaction with command. interaction (nextcord.Interaction): Interaction with command.
""" """