This commit is contained in:
Calum H. (IMB11)
2026-06-26 17:09:22 +01:00
parent 45d02bd5e6
commit c0d839c7f6
5 changed files with 49 additions and 12 deletions
@@ -103,7 +103,7 @@ export class ArchonServersV0Module extends AbstractModule {
*/
public async power(
serverId: string,
action: 'Start' | 'Stop' | 'Restart' | 'Kill',
action: Archon.Servers.v0.PowerAction,
): Promise<void> {
await this.client.request(`/servers/${serverId}/power`, {
api: 'archon',