DiSkyOrg / DiSky

The best Skript add-on for Discord management! Slash commands, interaction, components, modal and much more available!
https://disky.me/
Apache License 2.0
42 stars 13 forks source link

MessageReceive event bug with event-newschannel #138

Closed ItsTheSky closed 1 year ago

ItsTheSky commented 1 year ago

ASLo before i forget, there's a bug in the MessageReceive event, for news channels event-channel always returns null, but event-newschannel works just fine. I'm utterly confused, because there's literally no difference between the two.

Originally posted by @Mushkrem in https://github.com/DiSkyOrg/DiSky/issues/137#issuecomment-1604599478

ItsTheSky commented 1 year ago

As Channel is a superclass of GuildChannel, I'll register natively an event-value for Channel if we register one for GuildChannel, so event-channel will also be available.