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

Composer not load method #182

Open
jackoobcze opened this issue Jul 20, 2023 · 1 comment
Open

Composer not load method #182

jackoobcze opened this issue Jul 20, 2023 · 1 comment

Comments

@jackoobcze
Copy link

Hi, after clear instal libs from composer i try load your example... but i got error

PHP Fatal error: Uncaught Error: Call to undefined method Discord\WebSockets\Intents::getDefaultIntents() in /var/www/clients/client1/web1/home/bot/run.php:12

Where can be problem? Ty

@sirn-se
Copy link
Contributor

sirn-se commented Jul 20, 2023

Hi @jackoobcze

The class mentioned in error message, Discord\WebSockets\Intents, is not part of this library.

So this error is caused by some other code you are using. Without a complete code example, it's impossible to say what caused it.

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

No branches or pull requests

2 participants