Coder Social home page Coder Social logo

ensimag-alternance-pointage's Introduction

My github stats

ensimag-alternance-pointage's People

Contributors

hexpandaa avatar

Watchers

 avatar

ensimag-alternance-pointage's Issues

Error when someone DMs are not open

When someone who's DMs are not open react to an event, the bot fails to send him a message (obviously), but consequently does not execute the next instructions.

Task exception was never retrieved
future: <Task finished coro=<CalendarCog.check_in() done, defined at /xxx/ensimag-alternance-pointage/cogs/calendar.py:115> exception=Forbidden('403 Forbidden (error code: 50007): Cannot send messages to this user')>
Traceback (most recent call last):
  File "/xxx/ensimag-alternance-pointage/cogs/calendar.py", line 135, in check_in
    await self.send_check_in_status(status, course, user)
  File "/xxx/ensimag-alternance-pointage/cogs/calendar.py", line 142, in send_check_in_status
    await user.send(f":white_check_mark: Pointage pour le cours de {course['name']} réussi !")
  File "/xxx/.local/lib/python3.7/site-packages/discord/abc.py", line 937, in send
    message_reference=reference)
  File "/xxx/.local/lib/python3.7/site-packages/discord/http.py", line 241, in request
    raise Forbidden(r, data)
discord.errors.Forbidden: 403 Forbidden (error code: 50007): Cannot send messages to this user

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.