This seems to be caused by some combination of discord.py 2.0 and Discord API shenanigans. Joy.
Relevant traceback:
Dec 08 01:29:50 zerovps python3[3235309]: Traceback (most recent call last):
Dec 08 01:29:50 zerovps python3[3235309]: File "/home/zeroknight/ZeroBot/src/ZeroBot/feature/quote/feature.py", line 113, in module_on_message
Dec 08 01:29:50 zerovps python3[3235309]: server = message.server.name
Dec 08 01:29:50 zerovps python3[3235309]: AttributeError: 'NoneType' object has no attribute 'name'
Dec 08 01:29:50 zerovps python3[3235309]: During handling of the above exception, another exception occurred:
Dec 08 01:29:50 zerovps python3[3235309]: Traceback (most recent call last):
Dec 08 01:29:50 zerovps python3[3235309]: File "/home/zeroknight/ZeroBot/venv/lib/python3.10/site-packages/discord/client.py", line 441, in _run_event
Dec 08 01:29:50 zerovps python3[3235309]: await coro(*args, **kwargs)
Dec 08 01:29:50 zerovps python3[3235309]: File "/home/zeroknight/ZeroBot/src/ZeroBot/protocol/discord/protocol.py", line 122, in on_message
Dec 08 01:29:50 zerovps python3[3235309]: await CORE.module_send_event("message", self, DiscordMessage(message))
Dec 08 01:29:50 zerovps python3[3235309]: File "/home/zeroknight/ZeroBot/src/ZeroBot/core.py", line 1041, in module_send_event
Dec 08 01:29:50 zerovps python3[3235309]: await method(ctx, *args, **kwargs)
Dec 08 01:29:50 zerovps python3[3235309]: File "/home/zeroknight/ZeroBot/src/ZeroBot/feature/quote/feature.py", line 116, in module_on_message
Dec 08 01:29:50 zerovps python3[3235309]: channel = message.destination.recipient.name
This seems to be caused by some combination of discord.py 2.0 and Discord API shenanigans. Joy.
Relevant traceback: