diff options
| author | 2021-06-07 15:53:40 +0800 | |
|---|---|---|
| committer | 2021-06-07 15:53:40 +0800 | |
| commit | 267fe2c8528ff95332fc268cc9ac53411e8034e7 (patch) | |
| tree | a800f1ec03c6b11bbc2b410a4d61518fd2576e94 /bot/exts/pride/pride_facts.py | |
| parent | made minor typo changes (diff) | |
| parent | Merge pull request #770 from python-discord/docker-compose-restart-policy (diff) | |
Merge branch 'main' into master
Diffstat (limited to 'bot/exts/pride/pride_facts.py')
| -rw-r--r-- | bot/exts/pride/pride_facts.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/exts/pride/pride_facts.py b/bot/exts/pride/pride_facts.py index 631e2e8b..63e33dda 100644 --- a/bot/exts/pride/pride_facts.py +++ b/bot/exts/pride/pride_facts.py @@ -57,7 +57,7 @@ class PrideFacts(commands.Cog): date = _date if date.year < now.year or (date.year == now.year and date.day <= now.day): try: - await target.send(embed=self.make_embed(self.facts[str(date.year)][date.day - 1])) + await target.send(embed=self.make_embed(FACTS[str(date.year)][date.day - 1])) except KeyError: await target.send(f"The year {date.year} is not yet supported") return |