UNPKG

seyfert

Version:

The most advanced framework for discord bots

18 lines (17 loc) 604 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.VoiceStateShorter = void 0; const base_1 = require("./base"); class VoiceStateShorter extends base_1.BaseShorter { requestSpeak(guildId, date) { return this.client.proxy.guilds(guildId)['voice-states']['@me'].patch({ body: { request_to_speak_timestamp: date }, }); } setSuppress(guildId, suppress) { return this.client.proxy.guilds(guildId)['voice-states']['@me'].patch({ body: { suppress }, }); } } exports.VoiceStateShorter = VoiceStateShorter;