Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DisgordChannelQueryBuilderAPI ¶
DisgordChannelQueryBuilderAPI provides an interface for mocking Disgord's MessageQueryBuilder behavior
type DisgordClientAPI ¶
type DisgordClientAPI interface { SendMsg(channelID disgord.Snowflake, data ...interface{}) (msg *disgord.Message, err error) // GetMessage(channelID, messageID disgord.Snowflake) (ret *disgord.Message, err error) Channel(id disgord.Snowflake) disgord.ChannelQueryBuilder User(id disgord.Snowflake) disgord.UserQueryBuilder }
DisgordClientAPI provides an interface for mocking Disgord's cache behavior
type DisgordMessageQueryBuilderAPI ¶
DisgordMessageQueryBuilderAPI provides an interface for mocking Disgord's MessageQueryBuilder behavior
type DisgordUserAPI ¶
type DisgordUserAPI interface {
SendMsg(ctx context.Context, session disgord.Session, message *disgord.Message) (channel *disgord.Channel, msg *disgord.Message, err error)
}
DisgordUserAPI provides an interface for mocking disgord user behavior
type GuildQueryBuilderAPI ¶
type QueueClientAPI ¶
type QueueClientAPI interface { TriggerNext() TriggerShuffle() TriggerStop() UpdateUserQueueStateBulk(chID disgord.Snowflake, uID disgord.Snowflake, args []string) UpdateUserQueueState(chID disgord.Snowflake, uID disgord.Snowflake, arg string) TriggerChannelHop(id disgord.Snowflake) ReturnUserQueue() map[disgord.Snowflake][]string ReturnNowPlayingID() disgord.Snowflake ReturnVoiceCacheEntry(id disgord.Snowflake) disgord.Snowflake }
QueueClientAPI provides an interface for mocking boombot queue behavior
Click to show internal directories.
Click to hide internal directories.