Code Monkey home page Code Monkey logo

discord-bot-adminafk's People

Contributors

dependabot-preview[bot] avatar egguy avatar m0nsterrr avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

egguy

discord-bot-adminafk's Issues

Ping command doesn't work.

INFO:bot:Log command! ('Action', 'Command used', 'Name', '!ping')
Ignoring exception in command ping:
Traceback (most recent call last):
  File "C:\Users\maste\Documents\Travail\Informatique\Github\Discord-BOT-AdminAFK\venv\lib\site-packages\discord\ext\commands\core.py", line 79, in wrapped
    ret = await coro(*args, **kwargs)
  File "C:\Users\maste\Documents\Travail\Informatique\Github\Discord-BOT-AdminAFK\functions\decorators.py", line 51, in wrapper
    return await func(self, ctx, *args, **kwargs)
  File "C:\Users\maste\Documents\Travail\Informatique\Github\Discord-BOT-AdminAFK\functions\decorators.py", line 63, in wrap
    return await func(self, ctx, *args, **kwargs)
  File "C:\Users\maste\Documents\Travail\Informatique\Github\Discord-BOT-AdminAFK\extensions\admin.py", line 216, in ping
    "Name", "!ping")
  File "C:\Users\maste\Documents\Travail\Informatique\Github\Discord-BOT-AdminAFK\bot.py", line 21, in log
    now = format_datetime(datetime.now())
  File "C:\Users\maste\Documents\Travail\Informatique\Github\Discord-BOT-AdminAFK\venv\lib\site-packages\babel\dates.py", line 732, in format_datetime
    return get_datetime_format(format, locale=locale) \
  File "C:\Users\maste\Documents\Travail\Informatique\Github\Discord-BOT-AdminAFK\venv\lib\site-packages\babel\dates.py", line 392, in get_datetime_format
    patterns = Locale.parse(locale).datetime_formats
AttributeError: 'NoneType' object has no attribute 'datetime_formats'

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "C:\Users\maste\Documents\Travail\Informatique\Github\Discord-BOT-AdminAFK\venv\lib\site-packages\discord\ext\commands\bot.py", line 863, in invoke
    await ctx.command.invoke(ctx)
  File "C:\Users\maste\Documents\Travail\Informatique\Github\Discord-BOT-AdminAFK\venv\lib\site-packages\discord\ext\commands\core.py", line 728, in invoke
    await injected(*ctx.args, **ctx.kwargs)
  File "C:\Users\maste\Documents\Travail\Informatique\Github\Discord-BOT-AdminAFK\venv\lib\site-packages\discord\ext\commands\core.py", line 88, in wrapped
    raise CommandInvokeError(exc) from exc
discord.ext.commands.errors.CommandInvokeError: Command raised an exception: AttributeError: 'NoneType' object has no attribute 'datetime_formats'

Error on LC_TIME return none (Windows)

INFO:bot:Log command! ('Action', 'Command used', 'Name', '!ping')
Ignoring exception in command ping:
Traceback (most recent call last):
  File "C:\Users\maste\AppData\Local\Programs\Python\Python36-32\lib\site-packages\discord\ext\commands\core.py", line 61, in wrapped
    ret = await coro(*args, **kwargs)
  File "D:\Documents\Travail\Informatique\Github\Discord-BOT-AdminAFK\functions\decorators.py", line 51, in wrapper
    return await func(self, ctx, *args, **kwargs)
  File "D:\Documents\Travail\Informatique\Github\Discord-BOT-AdminAFK\functions\decorators.py", line 63, in wrap
    return await func(self, ctx, *args, **kwargs)
  File "D:\Documents\Travail\Informatique\Github\Discord-BOT-AdminAFK\extensions\admin.py", line 218, in ping
    "Name", "!ping")
  File "D:\Documents\Travail\Informatique\Github\Discord-BOT-AdminAFK\bot.py", line 21, in log
    now = format_datetime(datetime.now())
  File "C:\Users\maste\AppData\Local\Programs\Python\Python36-32\lib\site-packages\babel\dates.py", line 732, in format_datetime
    return get_datetime_format(format, locale=locale) \
  File "C:\Users\maste\AppData\Local\Programs\Python\Python36-32\lib\site-packages\babel\dates.py", line 392, in get_datetime_format
    patterns = Locale.parse(locale).datetime_formats
AttributeError: 'NoneType' object has no attribute 'datetime_formats'

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "C:\Users\maste\AppData\Local\Programs\Python\Python36-32\lib\site-packages\discord\ext\commands\bot.py", line 896, in invoke
    await ctx.command.invoke(ctx)
  File "C:\Users\maste\AppData\Local\Programs\Python\Python36-32\lib\site-packages\discord\ext\commands\core.py", line 533, in invoke
    await injected(*ctx.args, **ctx.kwargs)
  File "C:\Users\maste\AppData\Local\Programs\Python\Python36-32\lib\site-packages\discord\ext\commands\core.py", line 70, in wrapped
    raise CommandInvokeError(e) from e
discord.ext.commands.errors.CommandInvokeError: Command raised an exception: AttributeError: 'NoneType' object has no attribute 'datetime_formats'

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.