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

AttributeError: 'DMChannel' object has no attribute 'name' #44

Open
rohanraj-aipro opened this issue Nov 11, 2022 · 10 comments
Open

AttributeError: 'DMChannel' object has no attribute 'name' #44

rohanraj-aipro opened this issue Nov 11, 2022 · 10 comments

Comments

@rohanraj-aipro
Copy link

[2022-11-11 22:38:03] [ERROR ] discord.client: Ignoring exception in on_message
Traceback (most recent call last):
File "C:\Users\kanch\AppData\Local\Programs\Python\Python310\lib\site-packages\discord\client.py", line 409, in _run_event
await coro(*args, **kwargs)
File "C:\Users\kanch\AppData\Local\Temp\Rar$DIa3860.7251\DiscordRAT.py", line 183, in on_message
if message.channel.name != channel_name:
AttributeError: 'DMChannel' object has no attribute 'name'

@moom825
Copy link
Owner

moom825 commented Nov 11, 2022

are you dming the bot? why?

@moom825
Copy link
Owner

moom825 commented Nov 11, 2022

also please use 2.0

@rohanraj-aipro
Copy link
Author

where to send command ? not dming ?

@moom825
Copy link
Owner

moom825 commented Nov 13, 2022

it should create a channel in the server u added it to

@rohanraj-aipro
Copy link
Author

did you mean session-1 ?

@rohanraj-aipro
Copy link
Author

discord

@rohanraj-aipro
Copy link
Author

i used volumemax command. not working

@rohanraj-aipro
Copy link
Author

infact, any command is not working

@KakaLoro
Copy link

KakaLoro commented Feb 2, 2025

you just got rated!

@rohanraj-aipro
Copy link
Author

Huh?

Rated or Ratted?

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

3 participants