You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: