diff --git a/cogs/tickets.py b/cogs/tickets.py index d0d3e1b..d0281e7 100644 --- a/cogs/tickets.py +++ b/cogs/tickets.py @@ -66,11 +66,13 @@ async def open_ticket(self, ctx, bot: discord.User): owner = ctx.guild.get_member(int(bot_db["owner"]["id"])) mods = ctx.guild.get_role(int(self.bot.settings["roles"]["mod"])) + serverbots = ctx.guild.get_role(716174811629486141) # bot power role overwrites = { ctx.guild.default_role: discord.PermissionOverwrite(read_messages=False), owner: discord.PermissionOverwrite(read_messages=True, send_messages=True), - mods: discord.PermissionOverwrite(read_messages=True, send_messages=True) + mods: discord.PermissionOverwrite(read_messages=True, send_messages=True), + serverbots: discord.PermissionOverwrite(read_messages=True, send_messages=True) } channel = await category.create_text_channel(name=bot.name.lower(), overwrites=overwrites,