Depraction of PageType.EMBED
Closed this issue · 2 comments
TheHolyFire commented
Hey since PageType.EMBED is being deprecated i wanted to check what new method i should use since i didnt really understand the info in the givin Class
ygimenez commented
The newer method uses instanceof
for checking what type of page it is, you don't need to supply any type anymore just the Message/MessageEmbed object.
TheHolyFire commented
Works like a charm