From 7337345f53e143469855b9d8c832b3991bfb4e3d Mon Sep 17 00:00:00 2001 From: tropii <97747461+TropiiDev@users.noreply.github.com> Date: Fri, 24 Nov 2023 15:13:12 -0500 Subject: [PATCH] Edited Tickets --- bot.py | 8 -------- commands/ticket.py | 2 +- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/bot.py b/bot.py index a36cb4d..097408d 100644 --- a/bot.py +++ b/bot.py @@ -66,14 +66,6 @@ class MyBot(commands.Bot): async def on_ready(self): await self.change_presence(activity=discord.Activity(type=discord.ActivityType.watching, name=f"over {len(self.guilds)} servers!")) - for guild in self.guilds: - # find the channel named "commands" - if discord.utils.get(guild.text_channels, name="general"): - channel = discord.utils.get(guild.text_channels, name="general") - await channel.send("Hello Again!\n\nThis is an official message from the developer of Blob. We are continuing development of Blob and it will resume normal operations shortly.\n\nA lot has changed since the last time Blob was online. We are here to address your issues with our new discord server. Please join [now](https://discord.gg/A2EQDvA6sN).\n\nI (Tropii) hate to send messages to through servers with stuff like this, I do apologize. For further information please join the support server below!\n\nTake care - Tropii.\n\nHave any conerns? Feel free to add me `fstropii`\n\nIf you see this message more than once please let me know ASAP!") - else: - pass - # making var for commands in this file bot = MyBot() diff --git a/commands/ticket.py b/commands/ticket.py index 8efa84d..abc8eab 100644 --- a/commands/ticket.py +++ b/commands/ticket.py @@ -70,7 +70,7 @@ class CreateButton(View): em = discord.Embed(description="Someone will be here to assist you shortly.\nTo close this ticket react with 🔒",color=interaction.user.color) em.set_footer(text="Powered by Blob", icon_url=interaction.guild.me.avatar) - await channel.send(f"{interaction.user.mention} Welcome to your ticket.\n\nPlease don't ping staff, they will be here soon.\n\n",embed=em, view=CloseButton()) + await channel.send(f"{interaction.user.mention} Welcome to your ticket. {r1.mention}\n\nPlease don't ping staff, they will be here soon.\n\n",embed=em, view=CloseButton()) await interaction.followup.send(f"Ticket created in {channel.mention}", ephemeral=True) await send_log( title="Ticket Created",