fix ``is_automod_immune`` handling of guild check and support for checking webhooks