How do you remove messages about upcoming consoles

Hi I am making a mod and I want to remove some consoles I have removed the consoles from the game but I still keep getting messages about the announcement. But it does not say it is released which is good
Thanks!

Most of these story notifications are held in the Media.allScheduledStories array. You could try to remove them from there. Another option is to hijack the Media.getScheduledNotifications method and then filter out any notifications that contain console names.

Sorry but how do I do that