Skip to content

Commit

Permalink
🔖 3.5.1 HOT FIX node-fetch version
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasbnt committed Jun 12, 2023
1 parent 8f6dd5e commit cd64c2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/FilterLinks.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ module.exports = function FilterLinks(msg) {
// TODO : Vérifie si le robot lui-même a la permission de supprimer le message si nécessaire.

// Vérifie si l'auteur du message a la permission de supprimer le message ou s'il a le rôle IDRoleSupport.
//if (msg.member.permissions.has(PermissionsBitField.Flags.ManageMessages)) return
if (msg.member.permissions.has(PermissionsBitField.Flags.ManageMessages)) return
if (config.IDAdsChannel != null) {
// Vérifie si son message est dans le salon qui accepte ces types de liens.
if (msg.channel.id === config.IDAdsChannel) return
Expand Down

0 comments on commit cd64c2f

Please sign in to comment.