diff --git a/off_cooldown_bot/cogs/commands/test.py b/off_cooldown_bot/cogs/commands/test.py index 6599700..54a9147 100644 --- a/off_cooldown_bot/cogs/commands/test.py +++ b/off_cooldown_bot/cogs/commands/test.py @@ -30,7 +30,7 @@ class TestCog(commands.Cog, name="Test commands."): @test.subcommand() @is_me() - async def election_start(self, interaction: nextcord.Interaction) -> None: + async def open_raid(self, interaction: nextcord.Interaction) -> None: """ Force starts election. diff --git a/off_cooldown_bot/open_raid.py b/off_cooldown_bot/open_raid.py index 6af30ec..bfa61b8 100644 --- a/off_cooldown_bot/open_raid.py +++ b/off_cooldown_bot/open_raid.py @@ -9,7 +9,7 @@ class OpenRaid(nextcord.ui.View): def __init__(self) -> None: 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: """ Signs a user up as a tank. @@ -17,12 +17,12 @@ class OpenRaid(nextcord.ui.View): Removes them if they are already signed up. Args: - button (nextcord.ui.Button): Unneeded. + button (nextcord.ui.Button): Un-used. 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: """ Signs a user up as a healer. @@ -30,12 +30,12 @@ class OpenRaid(nextcord.ui.View): Removes them if they are already signed up. Args: - button (nextcord.ui.Button): Unneeded. + button (nextcord.ui.Button): Un-used. 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: """ Signs a user up as dps. @@ -43,7 +43,7 @@ class OpenRaid(nextcord.ui.View): Removes them if they are already signed up. Args: - button (nextcord.ui.Button): Unneeded. + button (nextcord.ui.Button): Un-used. interaction (nextcord.Interaction): Interaction with command. """