add word to message string.
build_develop / build (push) Successful in 1m31s

This commit is contained in:
2023-09-14 11:33:27 -04:00
parent 7d1b2f7cac
commit 85eb52d2e1
+2 -1
View File
@@ -123,5 +123,6 @@ class DailyLoop(commands.Cog, name="Daily Loop"):
for member in cakedays:
years = today.year - member.joined_at.year
msg = f"Happy Cake day! <@{member.id}> joined the discord {years} ago!"
year_str = "years" if years > 1 else "year"
msg = f"Happy Cake day! <@{member.id}> joined the discord {years} {year_str} ago!"
await announce_channel.send(msg)