Merge branch 'main' into dev
This commit is contained in:
@@ -1,3 +1,7 @@
|
|||||||
|
### ⚠️ WARNING!
|
||||||
|
In open ticket **v3.3.3 & below**, there is a bug causing weird looking embeds, we solved this in the [dev branch](https://github.com/DJj123dj/open-ticket/tree/dev). Try to download open ticket from there while we are fixing the bug!
|
||||||
|
<hr>
|
||||||
|
|
||||||
<img src="https://www.dj-dj.be/wp-content/uploads/2023/02/open-ticket-cropped.png" alt="Open Ticket" width="600px">
|
<img src="https://www.dj-dj.be/wp-content/uploads/2023/02/open-ticket-cropped.png" alt="Open Ticket" width="600px">
|
||||||
|
|
||||||
[](https://discord.com/invite/26vT9wt3n3) [](https://github.com/DJj123dj/open-ticket/releases/tag/v3.4.0) []() [](https://github.com/DJj123dj/open-ticket/blob/main/LICENSE) [](https://docs.openticket.dj-dj.be)
|
[](https://discord.com/invite/26vT9wt3n3) [](https://github.com/DJj123dj/open-ticket/releases/tag/v3.4.0) []() [](https://github.com/DJj123dj/open-ticket/blob/main/LICENSE) [](https://docs.openticket.dj-dj.be)
|
||||||
|
|||||||
@@ -138,7 +138,7 @@ module.exports = () => {
|
|||||||
try {
|
try {
|
||||||
const adminrole = guild.roles.cache.find(r => r.id == role)
|
const adminrole = guild.roles.cache.find(r => r.id == role)
|
||||||
if (!adminrole) return
|
if (!adminrole) return
|
||||||
|
|
||||||
permissionsArray.push({
|
permissionsArray.push({
|
||||||
id:adminrole,
|
id:adminrole,
|
||||||
type:"role",
|
type:"role",
|
||||||
@@ -242,4 +242,4 @@ module.exports = () => {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user