From e01c27d79d48219c9f7cec420ed9ce5f8f8cbef0 Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Mon, 25 Sep 2023 00:06:13 -0400 Subject: [PATCH] feat(moderation): made the bot dm you the moderationset mysql button --- moderation/moderation.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/moderation/moderation.py b/moderation/moderation.py index 8b0a0c5..fb30ab0 100644 --- a/moderation/moderation.py +++ b/moderation/moderation.py @@ -35,7 +35,8 @@ class Moderation(commands.Cog): @checks.is_owner() async def moderationset_mysql(self, ctx: commands.Context): """Configure MySQL connection details.""" - await ctx.send(content="Click the button below to configure your MySQL connection details.", view=self.ConfigButtons(60)) + await ctx.message.add_reaction("✅") + await ctx.author.send(content="Click the button below to configure your MySQL connection details.", view=self.ConfigButtons(60)) class ConfigButtons(discord.ui.View): def __init__(self, timeout):