Traceback (most recent call last):
File "C:\Users\david\AppData\Local\pypoetry\Cache\virtualenvs\brvns-discord-IEfoc-tc-py3.9\lib\site-packages\discord\client.py", line 382, in _run_event
await coro(*args, **kwargs)
File "C:\Users\david\AppData\Local\pypoetry\Cache\virtualenvs\brvns-discord-IEfoc-tc-py3.9\lib\site-packages\discord\ext\commands\bot.py", line 384, in on_message
await self.process_commands(message)
File "C:\Users\david\AppData\Local\pypoetry\Cache\virtualenvs\brvns-discord-IEfoc-tc-py3.9\lib\site-packages\discord\ext\commands\bot.py", line 380, in process_commands
ctx = await self.get_context(message)
File "C:\Users\david\AppData\Local\pypoetry\Cache\virtualenvs\brvns-discord-IEfoc-tc-py3.9\lib\site-packages\discord\ext\commands\bot.py", line 286, in get_context
prefix = await self.get_prefix(message)
File "C:\Users\david\AppData\Local\pypoetry\Cache\virtualenvs\brvns-discord-IEfoc-tc-py3.9\lib\site-packages\discord\ext\commands\bot.py", line 240, in get_prefix
raise TypeError(
TypeError: command_prefix must be plain string, iterable of strings, or callable returning either of these, not BrvnsBot
Ignoring exception in on_message
Traceback (most recent call last):
File "C:\Users\david\AppData\Local\pypoetry\Cache\virtualenvs\brvns-discord-IEfoc-tc-py3.9\lib\site-packages\discord\ext\commands\bot.py", line 233, in get_prefix
ret = list(ret)
TypeError: 'BrvnsBot' object is not iterable
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\david\AppData\Local\pypoetry\Cache\virtualenvs\brvns-discord-IEfoc-tc-py3.9\lib\site-packages\discord\client.py", line 382, in _run_event
await coro(*args, **kwargs)
File "C:\Users\david\AppData\Local\pypoetry\Cache\virtualenvs\brvns-discord-IEfoc-tc-py3.9\lib\site-packages\discord\ext\commands\bot.py", line 384, in on_message
await self.process_commands(message)
File "C:\Users\david\AppData\Local\pypoetry\Cache\virtualenvs\brvns-discord-IEfoc-tc-py3.9\lib\site-packages\discord\ext\commands\bot.py", line 380, in process_commands
ctx = await self.get_context(message)
File "C:\Users\david\AppData\Local\pypoetry\Cache\virtualenvs\brvns-discord-IEfoc-tc-py3.9\lib\site-packages\discord\ext\commands\bot.py", line 286, in get_context
prefix = await self.get_prefix(message)
File "C:\Users\david\AppData\Local\pypoetry\Cache\virtualenvs\brvns-discord-IEfoc-tc-py3.9\lib\site-packages\discord\ext\commands\bot.py", line 240, in get_prefix
raise TypeError(
TypeError: command_prefix must be plain string, iterable of strings, or callable returning either of these, not BrvnsBot
I get this when I write a plain text message in my server that uses / commands