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

updating bot.py #77

Open
Vamshi2507 opened this issue Apr 28, 2023 · 0 comments
Open

updating bot.py #77

Vamshi2507 opened this issue Apr 28, 2023 · 0 comments

Comments

@Vamshi2507
Copy link

Vamshi2507 commented Apr 28, 2023

There are two main issues in the code:

The BOTDEV_ID and BOT_LOGS environment variables are not being properly loaded from the .env file. This could be because the names in the .env file do not match the variables being used in the code, or because the .env file is not in the correct directory.

The client.get_channel(BOT_LOGS) line is trying to access a channel using the BOT_LOGS variable, which may not be properly defined. This could result in a NoneType error, since the get_channel() function returns None if it cannot find the channel.

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

1 participant