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