Skip to content

Commit

Permalink
Add masa command
Browse files Browse the repository at this point in the history
  • Loading branch information
irumaru committed Oct 11, 2023
1 parent 1506bb6 commit e9ab391
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion python/pantyetta.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,8 @@ async def ohiru(interaction: discord.Interaction, private:bool=True):
image_url='https://www.cit-s.com/wp/wp-content/themes/cit/menu/td_' + str(date.strftime("%Y%m")) + '_' + str(get_nth_week(date.year, date.month, date.day)) + '.png'
embed=discord.Embed(title= "今週のメニュー",color=0x3c0fbc)
embed.set_image(url=image_url)#URLでEmbedに画像を貼る
await interaction.response.send_message(embed=embed, ephemeral=private)
await interaction.response.send_message(embed=embed, ephemeral=private)

@tree.command(name="masa",description="descriptioin")
async def pantyetta(interaction: discord.Interaction, private:bool=False):
await interaction.response.send_message("バーニングレッド",ephemeral=private)#ephemeral=True→「これらはあなただけに表示されています」

0 comments on commit e9ab391

Please sign in to comment.