This commit is contained in:
insert 2024-08-05 18:24:51 -04:00
parent 2f1de06a60
commit ad78da16da
Signed by: insert
GPG key ID: A70775C389ACF105

View file

@ -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.blogendpoint,self.bot.blogcredentials))
await inter.response.send_modal(modal=ApplicationModal("https://pastablog.insertapp.net/wp-json/wp/v2/posts",self.bot.blogcredentials))
def setup(bot: commands.Bot):
bot.add_cog(wordpress(bot))