GithubHelp home page GithubHelp logo

animenosekai / easygif Goto Github PK

View Code? Open in Web Editor NEW
8.0 8.0 2.0 140 KB

A quick gif sending discord bot written in python

License: MIT License

Python 100.00%
animenosekai discord discord-bot easygif gif python python-3

easygif's Introduction

Welcome to my profile!

GitHub Stats

Animenosekai GitHub Stats Animenosekai GitHub Summary

Profile Picture History

Rare pictures of me actually studying school stuff with a friend Kobayashi-San chi no Maid Dragon Arifureta

easygif's People

Contributors

animenosekai avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

easygif's Issues

[Bug] - No gif showing up with some search terms (and tenor gif)

Describe the bug
No GIF shows up with certain search terms.

To Reproduce
Steps to reproduce the behavior:

  1. Send a gif
  2. Nothing shows up/'searching your gif' shows up but no gif is sent.
  3. in the logs I could see an error:
    discord.ext.commands.errors.CommandInvokeError: Command raised an exception: IndexError: list index out of range

Expected behavior
To send the GIF

Screenshots
Capture d’écran 2020-05-28 à 00 27 20
Capture d’écran 2020-05-28 à 00 27 48

Versions:

  • OS: General (tried on macOS but others have the same issue)
  • EasyGif Version; EasyGif v.1.5

Additional context
Maybe need to work on a try-expect and change providers are change the random index when out of range.
I noticed that it happened with Tenor GIF

Tick which part of EasyGif this bug concerns (write an x)
[x] EasyGif as a Discord Bot
[] The database
[] The server
[] The repository
[] Assets
[] Other (specify)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.