Skip to content

Commit 3791db8

Browse files
style: reformatted
1 parent dea7a9b commit 3791db8

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

cogs/staff.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -66,20 +66,20 @@ async def reactionrole(self, ctx, message_id: str, button_name: str, emoji: str,
6666
# Adding the button to the message:
6767
self.bot.buttons.append(button)
6868
await ctx.send(f"Added!")"""
69-
69+
7070
@commands.slash_command(name="staffvote")
7171
@commands.guild_only()
7272
@commands.has_role("Staff")
73-
async def staffvote(self, ctx, title:str, proposition:str):
73+
async def staffvote(self, ctx, title: str, proposition: str):
7474
"""Staff vote command"""
7575
channel = self.bot.get_channel(self.bot.config.channels.staff_vote)
76-
#Creating an Embed!
76+
# Creating an Embed!
7777
embed = disnake.Embed(title=f"Title: {title}", description=f"Proposition: {proposition}", color=0xFFFFFF)
7878
embed.set_footer(text="Started by: {}".format(ctx.author.name))
79-
#Sending the Embed to the channel.
79+
# Sending the Embed to the channel.
8080
embed_msg = await channel.send(embed=embed)
8181
reactions = ["✅", "❌"]
82-
for reaction in reactions: #adding reactions to embed_msg
82+
for reaction in reactions: # adding reactions to embed_msg
8383
await embed_msg.add_reaction(reaction)
8484
await ctx.send("Your vote has been started successfully!", delete_after=3)
8585

utils/CONSTANTS.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33

44
__VERSION__ = "1.6.0"
55

6+
67
@dataclass
78
class Channels:
89
suggestion: int = 982353129913851924
@@ -33,6 +34,7 @@ def dev(cls):
3334
cls.staff: int = 1005904440039047208
3435
return cls
3536

37+
3638
@dataclass
3739
class Colors:
3840
invis: int = 0x2F3136

0 commit comments

Comments
 (0)