Packages@robojs/mock
createDefaultGuildWithChannel()
Function: createDefaultGuildWithChannel()
function createDefaultGuildWithChannel(state, config?): MockGuildCreate a default guild with a general channel and add it to the session state Returns the created guild for reference
Parameters
| Parameter | Type |
|---|---|
state | SessionState |
config? | { channelName: string; guildName: string; } |
config.channelName? | string |
config.guildName? | string |
