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",
|
||||
)
|
||||
async def blog(self, inter: disnake.ApplicationCommandInteraction):
|
||||
print("blog endpoint:")
|
||||
print(self.bot.blogendpoint)
|
||||
print(self.bot.blogcredentials)
|
||||
await inter.response.send_modal(modal=ApplicationModal(self.bot.blogendpoint,self.bot.blogcredentials))
|
||||
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))
|
||||
|
||||
def setup(bot: commands.Bot):
|
||||
bot.add_cog(wordpress(bot))
|
Loading…
Reference in a new issue