(bot: Client, message: string)
| 147 | } |
| 148 | |
| 149 | export 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 | |
| 159 | export function endBroadcast(bot: Client) { |
| 160 | broadcast = false; |
no outgoing calls
no test coverage detected