integrations.discord.api module

integrations/discord/api.py

class integrations.discord.api.AdapterAPI

Bases: APIInterface

インターフェースAPI操作クラス

__init__()
Return type:

None

bot: Bot
async command_respond(m)

スラッシュコマンド応答

Parameters:

m (MessageParserProtocol) – メッセージデータ

Return type:

None

post(m)

メッセージをポストする(非同期処理ラッパー)

Parameters:

m (MessageParserProtocol) – メッセージデータ

Return type:

None

async post_async(m)

メッセージをポストする

Parameters:

m (MessageParserProtocol) – メッセージデータ

Return type:

None