update
This commit is contained in:
parent
2f1de06a60
commit
ad78da16da
1 changed files with 1 additions and 1 deletions
|
@ -85,7 +85,7 @@ class wordpress(commands.Cog):
|
||||||
description="create a blog post",
|
description="create a blog post",
|
||||||
)
|
)
|
||||||
async def blog(self, inter: disnake.ApplicationCommandInteraction):
|
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):
|
def setup(bot: commands.Bot):
|
||||||
bot.add_cog(wordpress(bot))
|
bot.add_cog(wordpress(bot))
|
Loading…
Reference in a new issue