mirror of
https://github.com/discordeno/discordeno.git
synced 2026-06-02 17:00:08 +00:00
* push some cursed stuff * bucket * fix bugs and hack start ordered * some management improvements * more gw stuff * f * rename manager to gateway * remove basic thing * remove old stuff * f * fix imp * fixes
7 lines
269 B
TypeScript
7 lines
269 B
TypeScript
import { Bot } from "../../bot.ts";
|
|
import { StatusUpdate } from "./editShardStatus.ts";
|
|
|
|
export async function editBotStatus(bot: Bot, data: StatusUpdate) {
|
|
await Promise.all(bot.gateway.manager.shards.map((shard) => bot.helpers.editShardStatus(shard.id, data)));
|
|
}
|