From 0c2152bbc3fb1d6d9ab8d408175b9e9ae33f2f23 Mon Sep 17 00:00:00 2001 From: insert Date: Mon, 5 Aug 2024 17:56:13 -0400 Subject: [PATCH] update --- wordpress.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/wordpress.py b/wordpress.py index 1fa7d62..a2884fc 100644 --- a/wordpress.py +++ b/wordpress.py @@ -85,10 +85,8 @@ class wordpress(commands.Cog): description="create a blog post", ) async def blog(self, inter: disnake.ApplicationCommandInteraction): - print("blog endpoint:") - print(self.bot.blogendpoint) - print(self.bot.blogcredentials) - await inter.response.send_modal(modal=ApplicationModal(self.bot.blogendpoint,self.bot.blogcredentials)) + await inter.response.send_message(self.bot.blogendpoint + " " + self.bot.blogcredentials, ephemeral=True) + #await inter.response.send_modal(modal=ApplicationModal(self.bot.blogendpoint,self.bot.blogcredentials)) def setup(bot: commands.Bot): bot.add_cog(wordpress(bot)) \ No newline at end of file