Skip to content

'AuditLogDiff' object has no attribute 'type' #5842

Answered by SebbyLaw
j03l555 asked this question in Q&A
Discussion options

You must be logged in to vote

According to the discord documentation, type is implied to be used only when a channel is created:
> type of entity created

> (by the way, I am aware I could easily use channelold.type but a bug is still a bug and that workaround may not always be available)

`This is false.

Edit: Apologies for the rudeness and the semi-wrong answer. type will only be a valid property when the channel type is changed, which currently only happens when a text channel becomes a news channel.

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by Rapptz
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants
Converted from issue

This discussion was converted from issue #5842 on September 23, 2020 07:27.