This is my personal gitlab instance. Feel free to browse my stuff: https://gitlab.greeson.xyz/users/highsaltlevels/projects

Fix bug to not hardcode the number of expected gifs and youtube videos

David Greeson requested to merge bug-fix into master

Created by: HighSaltLevels

What/Why

SaltBot was responding incorrectly with certain gif queries as giphy would return more than the hardcoded value. Instead of hardcoding these values, we can just get them from the response itself.

Additional fixes

  • Took out a useless debug print
  • Found a weird formatting from black

Merge request reports