diff --git a/README.md b/README.md index dd28156..1d8934f 100644 --- a/README.md +++ b/README.md @@ -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! +
+ Open Ticket [![discord](https://img.shields.io/badge/discord-join%20our%20server-5865F2.svg?style=flat-square&logo=discord)](https://discord.com/invite/26vT9wt3n3) [![version](https://img.shields.io/badge/version-3.4.0-brightgreen.svg?style=flat-square)](https://github.com/DJj123dj/open-ticket/releases/tag/v3.4.0) [![discord.js](https://img.shields.io/badge/discord.js-v14-CB3837.svg?style=flat-square&logo=npm)]() [![license](https://img.shields.io/badge/license-GPL%203.0-important.svg?style=flat-square)](https://github.com/DJj123dj/open-ticket/blob/main/LICENSE) [![stars](https://img.shields.io/github/stars/djj123dj/open-ticket?color=yellow&label=stars&logo=github&style=flat-square)](https://docs.openticket.dj-dj.be) diff --git a/core/ticketActions/ticketOpener.js b/core/ticketActions/ticketOpener.js index 33e47b7..0d38bef 100755 --- a/core/ticketActions/ticketOpener.js +++ b/core/ticketActions/ticketOpener.js @@ -138,7 +138,7 @@ module.exports = () => { try { const adminrole = guild.roles.cache.find(r => r.id == role) if (!adminrole) return - + permissionsArray.push({ id:adminrole, type:"role", @@ -242,4 +242,4 @@ module.exports = () => { } } }) -} \ No newline at end of file +}