diff --git a/mycommands.py b/mycommands.py index a4acd76..83d59b3 100644 --- a/mycommands.py +++ b/mycommands.py @@ -114,4 +114,8 @@ async def offlist(self, interaction: Interaction): for voicechannel in guild.voice_channels: embed.add_field(name=voicechannel.name, value=":o:" if channelonoff[voicechannel.id] else ":x:", inline=False) - await interaction.response.send_message(embed=embed) \ No newline at end of file + await interaction.response.send_message(embed=embed) + + @app_commands.command(name="getnotiontext", description="通知時のテキストの現在の設定値の確認用です。") + async def getnotiontext(self, interaction: Interaction): + await interaction.response.send_message(content=f"現在の通知時テキストは「{params.notitext}」です。", silent=True) \ No newline at end of file