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

Fixes #344

Merged
merged 1 commit into from
Oct 13, 2023
Merged

Fixes #344

merged 1 commit into from
Oct 13, 2023

Conversation

dehlirious
Copy link
Contributor

When receiving a Direct message, errors occur. This will fix those errors!

  File "site-packages\discord\client.py", line 378, in _run_event
    await coro(*args, **kwargs)
  File "cogs\text_service_cog.py", line 663, in on_message
    and message.guild.id in Moderation.moderation_queues
        ^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'id'```

When receiving a Directmessage, errors occur. This will fix those errors!
@Kav-K
Copy link
Owner

Kav-K commented Oct 13, 2023

Thank you!

@Kav-K Kav-K merged commit 17162b4 into Kav-K:main Oct 13, 2023
9 checks passed
@dehlirious
Copy link
Contributor Author

Thank you!

No problem. Jeez, you are quick lol.
It took me quite a minute to grasp how this whole thing works but now I think I might try and develop some functionality of my own, see if it ends up being useful or not.
I'm quite a fan of how clean this bot is, and how it was made. Quick question, is this script specifically using dalle2 or is it dalle3? I've assumed dalle2

@Kav-K
Copy link
Owner

Kav-K commented Oct 13, 2023

@dehlirious That sounds great! If you want, you can just make a draft PR and you can comment on it whenever you need help or guidance for your features and I can help out

The script doesn't specifically use any dalle version but just the latest one, so when dalle3 is out of alpha it will start using dalle3 automatically

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants