Closed EternalllZM closed 4 months ago
Was this silently fixed in a recent version? Or, was it fixed through a recent Red update (3.5.10)?.. Maybe even a Discord internal change.
def messages user
now working in media channels all of the sudden as well as warden actions.
Can anyone else with access to media channels or knowledge of recent updates confirm? You will need to create a rule that ignores channel matching a forum if testing with actions 👉 https://github.com/Twentysix26/x26-Cogs/issues/76 as warden still cannot identify them through channel matching
Since this has no activity I'm going to assume this was fixed due to Red v3.5.10 bumping discord.py to 2.4.0 which allowed visibility into these channels.
Cog
Describe the bug A certain percentage of Discord servers have access to a "Media" channel which is basically a glorified forum channel centered around posting media.
Users who create a post within said channel and then are queried by
def messages user
will cause the bot to error.To Reproduce Steps to reproduce the behavior:
def messages user <userid of poster>
Expected behavior An attachment string should show instead under the media channel name e.g.
[11:18:45](#My new artwork) IMG_01024.png
Considering the error mentions parent channel, it may simply be unable to identify what type of channel
Media
is.Screenshots
Exception in command defender messages user