v3.3.1 push 4

This commit is contained in:
DJj123dj
2023-03-23 12:46:53 +01:00
parent 0807ca884c
commit 2d7a7b5728
2 changed files with 13 additions and 3 deletions
+9
View File
@@ -35,6 +35,15 @@ const reopenTicket = (guild,channel,user) => {
allow:[pfb.AddReactions,pfb.AttachFiles,pfb.EmbedLinks,pfb.SendMessages,pfb.ViewChannel],
deny:[]
})
}else{
if (p.id != guild.roles.everyone){
permissionsArray.push({
id:p.id,
type:"role",
allow:[pfb.AddReactions,pfb.AttachFiles,pfb.EmbedLinks,pfb.SendMessages,pfb.ViewChannel],
deny:[]
})
}
}
})