Package-level declarations

Types

Link copied to clipboard
data class TencentBotViaBotFileConfiguration(val appId: String, val appKey: String, val token: String, val totalShard: Int? = null, val intentValues: Map<Int, Int> = emptyMap(), val defaultIntents: List<String> = EventSignals.intents.keys.toList(), val serverUrl: String? = null)

bot配置文件所对应的配置类,

Link copied to clipboard

子频道。来自于一个 TencentGuild

Link copied to clipboard
interface TencentChannelCategory : Category, TencentChannelInfo, BotContainer, GuildInfoContainer

当一个频道的 TencentChannel.source.channelType 的值等于 CHANNEL_TYPE_GROUPING 时, 此频道代表为一个分组。

Link copied to clipboard
Link copied to clipboard
abstract class TencentGuildBotManager : BotManager<TencentGuildComponentBot>

QQ频道BOT的bot管理器。

Link copied to clipboard

TencentGuildBotManager 使用的配置类描述。

Link copied to clipboard
class TencentGuildComponent : Component

腾讯频道实现simbot相关组件的基本组件信息,可以用来获取组件ID、组件所用序列化器等等。

Link copied to clipboard
interface TencentGuildComponentBot : Bot

一个tencent频道BOT的接口实例。

Link copied to clipboard

用于 TencentGuildComponent 组件注册时的配置类信息。

Link copied to clipboard

腾讯频道组件中 TencentGuildComponentBotGuildBot 的实现。

Link copied to clipboard

TencentGuildComponent 的注册器工厂,用于支持组件的自动加载。

Link copied to clipboard

代表为一个包含一个 TencentGuildObjective 类型的

Link copied to clipboard
interface TencentGuildUsageBuilder<A : Application>

使用在 useTencentGuild 函数中,用于同时针对 TencentGuildComponentTencentGuildBotManager 进行配置。

Link copied to clipboard
interface TencentMember : GuildMember, MemberInfo, TencentGuildObjectiveContainer<TencentMemberInfo>
Link copied to clipboard
interface TencentRole : Role, TencentRoleInfo

腾讯频道中所使用的角色类型。

Link copied to clipboard
interface TencentUser : User

Functions

Link copied to clipboard

从中过滤取出所有 TencentGuildBotManager 实例.

从序列中过滤出 TencentGuildBotManager 实例.

Link copied to clipboard

从中过滤取出所有 TencentGuildBotManager 实例。

从序列中过滤出 TencentGuildBotManager 实例。

Link copied to clipboard

从中过滤取出所有 TencentGuildBotManager 实例。 如果不存在则得到null。

从序列中过滤出 TencentGuildBotManager 实例。 如果不存在则得到null。

Link copied to clipboard
inline suspend fun BotRegistrar.tencentGuild(crossinline block: suspend TencentGuildBotManager.() -> Unit)

ApplicationBuilder.bots 作用域中寻找并使用 TencentGuildBotManager

Link copied to clipboard
@FragileSimbotApi
inline fun tencentGuildBotManager(): TencentGuildBotManager

OriginBotManager 中取出第一个 TencentGuildBotManager 实例。

得到一个BotManager.

Link copied to clipboard

OriginBotManager 中过滤取出所有 TencentGuildBotManager 实例。 如果元素不存在则得到null。

Link copied to clipboard
@FragileSimbotApi
inline fun tencentGuildBotManagers(): List<TencentGuildBotManager>

OriginBotManager 中过滤取出所有 TencentGuildBotManager 实例.

从中过滤取出所有 TencentGuildBotManager 实例.

从序列中过滤出 TencentGuildBotManager 实例.

Link copied to clipboard
inline fun ApplicationBuilder<*>.tencentGuildBots(crossinline block: suspend TencentGuildBotManager.(BotRegistrar) -> Unit)

ApplicationBuilder.bots 作用域中寻找并使用 TencentGuildBotManager

Link copied to clipboard
inline fun ApplicationBuilder<*>.tencentGuildBotsIfSupport(crossinline block: suspend TencentGuildBotManager.(BotRegistrar) -> Unit)

ApplicationBuilder.bots 作用域中寻找并使用 TencentGuildBotManager

Link copied to clipboard
inline suspend fun BotRegistrar.tencentGuildIfSupport(crossinline block: suspend TencentGuildBotManager.() -> Unit)

ApplicationBuilder.bots 作用域中寻找并使用 TencentGuildBotManager

Link copied to clipboard
fun <A : Application> ApplicationBuilder<A>.useTencentGuild(builder: TencentGuildUsageBuilder<A>.() -> Unit = {})
Link copied to clipboard
fun <A : Application> ApplicationBuilder<A>.useTencentGuildBotManager(configurator: TencentGuildBotManagerConfiguration.(perceivable: CompletionPerceivable<A>) -> Unit = {})

ApplicationBuilder 中安装使用 TencentGuildBotManager

Link copied to clipboard
fun <A : Application> ApplicationBuilder<A>.useTencentGuildComponent(configurator: TencentGuildComponentConfiguration.(perceivable: CompletionPerceivable<A>) -> Unit = {})

ApplicationBuilder 中安装使用 TencentGuildComponent