Skip to content

Commit

Permalink
Remove privated r/birdpics subreddit from /animal command
Browse files Browse the repository at this point in the history
  • Loading branch information
EthanC committed May 27, 2024
1 parent b76c15e commit 605f43e
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions extensions/animals.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,16 +100,14 @@ async def CommandAnimal(
f"Recieved unknown source {source} for animal type {type}"
)
case "Bird":
source = random.randint(1, 4)
source = random.randint(1, 3)

match source:
case 1:
result = await GetRandomImage("Birbs")
case 2:
result = await GetRandomImage("birdpics")
case 3:
result = await SomeRandomAPI("bird")
case 4:
case 3:
result = await RandomDuk()
case _:
logger.warning(
Expand Down

0 comments on commit 605f43e

Please sign in to comment.