MCPcopy Create free account
hub / github.com/esmBot/esmBot / startBroadcast

Function startBroadcast

src/utils/misc.ts:149–157  ·  view source on GitHub ↗
(bot: Client, message: string)

Source from the content-addressed store, hash-verified

147}
148
149export function startBroadcast(bot: Client, message: string) {
150 bot.editStatus("dnd", [
151 {
152 type: 0,
153 name: message + (commandsConfig.types.classic ? ` | @${bot.user.username} help` : ""),
154 },
155 ]);
156 broadcast = true;
157}
158
159export function endBroadcast(bot: Client) {
160 broadcast = false;

Callers 3

runMethod · 0.85
app.tsFile · 0.85
checkBroadcastFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected