update
This commit is contained in:
parent
0c2152bbc3
commit
2f1de06a60
1 changed files with 1 additions and 2 deletions
|
@ -85,8 +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_message(self.bot.blogendpoint + " " + self.bot.blogcredentials, ephemeral=True)
|
await inter.response.send_modal(modal=ApplicationModal(self.bot.blogendpoint,self.bot.blogcredentials))
|
||||||
#await inter.response.send_modal(modal=ApplicationModal(self.bot.blogendpoint,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