📅  最后修改于: 2022-03-11 15:00:34.134000             🧑  作者: Mango
client.on('message', (message) => {
if (message.content.includes('discord.gg/'||'discordapp.com/invite/'||'https://'||'http://')) {
message.delete()
.then(message.channel.send('Link Deleted:\n**Invite links are not permitted on this server**'))
}
});