aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bot/exts/info/patreon.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/bot/exts/info/patreon.py b/bot/exts/info/patreon.py
index d1c66c148..e3c8c07d1 100644
--- a/bot/exts/info/patreon.py
+++ b/bot/exts/info/patreon.py
@@ -20,6 +20,7 @@ PATREON_INFORMATION = (
"You can read more about how Patreon donations help us, and consider donating yourself, on our patreon page "
"[here](https://pydis.com/patreon)!"
)
+NO_PATRONS_MESSAGE = "*There are currently no patrons at this tier.*"
# List of tuples containing tier number and Discord role ID.
# Ordered from highest tier to lowest.
@@ -80,7 +81,7 @@ class Patreon(commands.Cog):
embed = discord.Embed(
title=role.name,
- description="\n".join(patron_names),
+ description="\n".join(patron_names) if patron_names else NO_PATRONS_MESSAGE,
colour=role.colour
)
embed_list.append(embed)