Closed stijnb1234 closed 5 years ago
That error is probably because you are not in a voice channel in discord - the bot joins the voice channel that you are in.
Can you try again after you've joined a voice channel and let me know if you hit the same error.
I'll make the error message clearer- thanks for the report!
On Sat, 27 Jul 2019, 14:56 Stijn Bannink, notifications@github.com wrote:
I'm getting this error:
Ignoring exception in on_message Traceback (most recent call last): File "C:\Users\Stijn\Anaconda3\lib\site-packages\discord.py-1.2.3-py3.7.egg\discord\client.py", line 270, in _run_event await coro(*args, **kwargs) File "C:\Users\Stijn\Anaconda3\lib\site-packages\lyrebot-0.1.0-py3.7.egg\lyrebot\discord_bot.py", line 189, in on_message message.author.voice.channel is not None, AttributeError: 'NoneType' object has no attribute 'channel'
How to fix that?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/MartinHowarth/lyrebot/issues/6?email_source=notifications&email_token=ABW2XYJIXPQCQNQSH2RHNETQBRH2JA5CNFSM4IHJNKI2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HB3F3BA, or mute the thread https://github.com/notifications/unsubscribe-auth/ABW2XYPRX4ZXZUXJDVP5MUDQBRH2JANCNFSM4IHJNKIQ .
I'm getting this error:
How to fix that?