注释类型的使用
cn.siriusbot.siriuspro.bot.annotation.OnEventMessage
使用OnEventMessage的程序包
-
cn.siriusbot.siriuspro.bot.application中OnEventMessage的使用
修饰符和类型方法说明default voidSiriusApplication.audio_finish_event(String bot_id, AudioMessageEvent event) 音频播放完毕事件default voidSiriusApplication.audio_off_mic_event(String bot_id, AudioMessageEvent event) 机器人下麦事件default voidSiriusApplication.audio_on_mic_event(String bot_id, AudioMessageEvent event) 机器人上麦事件default voidSiriusApplication.audio_or_live_channel_member_enter_event(String bot_id, AudioLiveChannelMemberEvent event) 当用户进入直播或视频子频道事件default voidSiriusApplication.audio_or_live_channel_member_exit_event(String bot_id, AudioLiveChannelMemberEvent event) 当用户离开直播或视频子频道事件default voidSiriusApplication.audio_start_event(String bot_id, AudioMessageEvent event) 音频开始播放事件default voidSiriusApplication.audit_message_pass_event(String bot_id, AuditMessageEvent event) 消息审核通过事件(一般用于发送主动消息)default voidSiriusApplication.audit_message_reject_event(String bot_id, AuditMessageEvent event) 消息审核不通过事件(一般用于发送主动消息)default voidSiriusApplication.channel_create_event(String bot_id, ChannelEventInfo event) 子频道被创建事件default voidSiriusApplication.channel_delete_event(String bot_id, ChannelEventInfo event) 子频道被删除事件default voidSiriusApplication.channel_update_event(String bot_id, ChannelEventInfo event) 子频道被更新事件default voidSiriusApplication.direct_message_create_event(String bot_id, DirectMessageEventInfo event) 机器人收到私信消息事件default voidSiriusApplication.direct_message_delete_event(String bot_id, DirectMessageEventInfo event) 私信消息被撤回事件default voidSiriusApplication.forum_post_create_event(String bot_id, ForumEvent event) (私域)帖子被创建事件default voidSiriusApplication.forum_post_delete_event(String bot_id, ForumEvent event) (私域)帖子被删除事件default voidSiriusApplication.forum_publish_audit_result(String bot_id, ForumEvent event) 用户发表审核通过事件default voidSiriusApplication.forum_reply_create_event(String bot_id, ForumEvent event) (私域)回复帖子事件default voidSiriusApplication.forum_reply_delete_event(String bot_id, ForumEvent event) (私域)回复删除事件default voidSiriusApplication.forum_thread_create_event(String bot_id, ForumEvent event) (私域)主题被创建事件default voidSiriusApplication.forum_thread_delete_event(String bot_id, ForumEvent event) (私域)主题被删除事件default voidSiriusApplication.forum_thread_update_event(String bot_id, ForumEvent event) (私域)主题被更新事件default voidSiriusApplication.guild_create_event(String bot_id, GuildEventInfo event) 机器人被加入频道事件default voidSiriusApplication.guild_delete_event(String bot_id, GuildEventInfo event) 频道解散或机器人被移除事件default voidSiriusApplication.guild_member_add_event(String bot_id, GuildMemberCreateEventInfo event) 新成员加入频道事件default voidSiriusApplication.guild_member_remove_event(String bot_id, GuildMemberEventInfo event) 成员退出频道或被移除频道事件default voidSiriusApplication.guild_member_update_event(String bot_id, GuildMemberEventInfo event) 频道成员信息更改事件default voidSiriusApplication.guild_update_event(String bot_id, GuildEventInfo event) 频道信息更改事件default voidSiriusApplication.interaction_create_event(String bot_id, InterActionEvent event) 互动消息被创建事件,一般用于按钮回调default voidSiriusApplication.message_reaction_add_event(String bot_id, ReactionEventInfo event) 表情表态增加事件default voidSiriusApplication.message_reaction_remove_event(String bot_id, ReactionEventInfo event) 表情表态被移除事件default voidSiriusApplication.open_forum_post_create_event(String bot_id, OpenForumEventInfo event) (公域)用户创建帖子事件default voidSiriusApplication.open_forum_post_delete_event(String bot_id, OpenForumEventInfo event) (公域)用户删除帖子事件default voidSiriusApplication.open_forum_reply_create_event(String bot_id, OpenForumEventInfo event) (公域)用户回复帖子事件default voidSiriusApplication.open_forum_reply_delete_event(String bot_id, OpenForumEventInfo event) (公域)用户删除回复事件default voidSiriusApplication.open_forum_thread_create_event(String bot_id, OpenForumEventInfo event) (公域)用户创建主题事件default voidSiriusApplication.open_forum_thread_delete_event(String bot_id, OpenForumEventInfo event) (公域)用户删除主题事件default voidSiriusApplication.open_forum_thread_update_event(String bot_id, OpenForumEventInfo event) (公域)用户更新主题事件default voidSiriusApplication.private_message_create_event(String bot_id, PrivateDomainMessageInfo event) 私域消息被创建事件default voidSiriusApplication.private_message_delete_event(String bot_id, PrivateDomainMessageInfo event) 私域消息被创建事件default voidSiriusApplication.public_message_create_event(String bot_id, PublicMessageEvent event) 公域消息创建事件default voidSiriusApplication.public_message_delete_event(String bot_id, PublicMessageEvent event) 公域消息撤回事件