Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- discord.on('MESSAGE_CREATE', async (msg) => {
- if (
- msg.content.includes('discord.gg/') ||
- msg.content.includes('www.') |
- msg.content.includes('http') |
- msg.content.includes('htpps://')
- )
- await msg.delete();
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement