aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar MrAwesomeRocks <[email protected]>2020-08-29 18:49:02 -0500
committerGravatar MrAwesomeRocks <[email protected]>2020-08-29 18:49:02 -0500
commitdbb05d95420cdd6ff08231ce7b9c67cc46bf3675 (patch)
tree7f376588128fd5df1e1c1b925b0e357124b42120
parentEveryone Ping: Changed embed text and location (diff)
Everyone Ping: Fixed linting error
Switched from string.format to f-string for server member count.
-rw-r--r--bot/rules/everyone_ping.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/rules/everyone_ping.py b/bot/rules/everyone_ping.py
index 47931caae..8c1b43628 100644
--- a/bot/rules/everyone_ping.py
+++ b/bot/rules/everyone_ping.py
@@ -25,7 +25,7 @@ async def apply(
if ev_msgs_ct > config["max"]:
# Send the user an embed giving them more info:
- member_count = "{:,}".format(last_message.guild.member_count).split(",")[0]
+ member_count = f'{last_message.guild.member_count}'.split(",")[0]
# Change the `K` to an `M` once the server reaches over 1 million people.
embed_text = textwrap.dedent(
f"""