Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bot can't reference Kat #22

Closed
KaitlinMS opened this issue Aug 20, 2021 · 1 comment
Closed

Bot can't reference Kat #22

KaitlinMS opened this issue Aug 20, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@KaitlinMS
Copy link
Owner

Maybe this only happens if she's offline?

Ignoring exception in on_message
Traceback (most recent call last):
  File "C:\Users\smith\AppData\Local\Programs\Python\Python39\lib\site-packages\discord\client.py", line 343, in _run_event
    await coro(*args, **kwargs)
  File "C:\Users\smith\Documents\GitHub\NoDiggityNoBot\bot.py", line 976, in on_message
    await decide_command(message)
  File "C:\Users\smith\Documents\GitHub\NoDiggityNoBot\bot.py", line 429, in decide_command
    await bot_say("{0.mention}, what time is it?!?!".format(bot.get_user(639547102023647233)), bot.general_channel)
AttributeError: 'NoneType' object has no attribute 'mention'
@KaitlinMS KaitlinMS added the bug Something isn't working label Aug 20, 2021
@KaitlinMS
Copy link
Owner Author

Might be related to this: Rapptz/discord.py#5867

KaitlinMS added a commit that referenced this issue Sep 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant