aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar shtlrs <[email protected]>2022-12-18 08:47:14 +0100
committerGravatar shtlrs <[email protected]>2022-12-18 08:47:14 +0100
commitc55b9ffb4ef4eb245eff2fd256c42c16976a3467 (patch)
tree850db7d4cc6143680ad344939fe9a9243e408fc5
parentdo not use name mangling in _attach_persistent_roles_view (diff)
fix Zig's nit comments
-rw-r--r--bot/exts/info/subscribe.py10
1 files changed, 6 insertions, 4 deletions
diff --git a/bot/exts/info/subscribe.py b/bot/exts/info/subscribe.py
index f3f6e71f6..082f8438b 100644
--- a/bot/exts/info/subscribe.py
+++ b/bot/exts/info/subscribe.py
@@ -98,7 +98,7 @@ class SingleRoleButton(discord.ui.Button):
ADD_STYLE = discord.ButtonStyle.success
REMOVE_STYLE = discord.ButtonStyle.red
UNAVAILABLE_STYLE = discord.ButtonStyle.secondary
- LABEL_FORMAT = "{action} role {role_name}."
+ LABEL_FORMAT = "{action} role {role_name}"
CUSTOM_ID_FORMAT = "subscribe-{role_id}"
def __init__(self, role: AssignableRole, assigned: bool, row: int):
@@ -181,9 +181,11 @@ class Subscribe(commands.Cog):
GREETING_EMOJI = ":wave:"
- SELF_ASSIGNABLE_ROLES_MESSAGE = f"Hi there {GREETING_EMOJI}," \
- "\nDid you know we had various self-assignable roles for server updates an events?"\
- "\nClick the button below to toggle them."
+ SELF_ASSIGNABLE_ROLES_MESSAGE = (
+ f"Hi there {GREETING_EMOJI},"
+ "\nWe have self-assignable roles for server updates an events!"
+ "\nClick the button below to toggle them:"
+ )
def __init__(self, bot: Bot):
self.bot = bot