diff --git a/wordpress.py b/wordpress.py index 0448981..d1ac3ab 100644 --- a/wordpress.py +++ b/wordpress.py @@ -85,7 +85,7 @@ class wordpress(commands.Cog): description="create a blog post", ) async def blog(self, inter: disnake.ApplicationCommandInteraction): - await inter.response.send_modal(modal=ApplicationModal(self.bot.blog.endpoint,self.bot.blog.credentials)) + 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