aboutsummaryrefslogtreecommitdiffstats
path: root/bot/exts/pride/pride_anthem.py
diff options
context:
space:
mode:
authorGravatar ChrisJL <[email protected]>2021-06-05 17:06:11 +0100
committerGravatar GitHub <[email protected]>2021-06-05 17:06:11 +0100
commit4970d9642f2a3eed8a3db5e1c438ee8cd4be72d9 (patch)
tree54264b9490474e62f65b64d9a6f8c3a6401da32d /bot/exts/pride/pride_anthem.py
parentMerge pull request #765 from python-discord/poetry-in-docker-bug-fix (diff)
parentMerge branch 'main' into fix/attribute-errors (diff)
Merge pull request #768 from python-discord/fix/attribute-errors
Use the constants instead of instance variables that don't exist
Diffstat (limited to 'bot/exts/pride/pride_anthem.py')
-rw-r--r--bot/exts/pride/pride_anthem.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/exts/pride/pride_anthem.py b/bot/exts/pride/pride_anthem.py
index 4650595a..05286b3d 100644
--- a/bot/exts/pride/pride_anthem.py
+++ b/bot/exts/pride/pride_anthem.py
@@ -24,7 +24,7 @@ class PrideAnthem(commands.Cog):
If none can be found, it will log this as well as provide that information to the user.
"""
if not genre:
- return random.choice(self.anthems)
+ return random.choice(VIDEOS)
else:
songs = [song for song in VIDEOS if genre.casefold() in song["genre"]]
try: