Why is my bot returning "an error has occured TypeError: Cannot read property 'send' of undefined"?

Oh, ok, right, try changing
client.guilds.cache.get(ModLog);
to
client.channels.cache.get(ModLog);

ok hold on. My bot won’t boot. Probably because discord API banned Glitch again…
sigh

Oh dear. Well, we’ll just have to wait it out.