oceanic.js 1.0.0-dev.5de1d4e → 1.0.0-dev.5f062dd
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -2
- package/dist/lib/Client.d.ts +16 -9
- package/dist/lib/Client.js +49 -23
- package/dist/lib/gateway/Shard.js +37 -47
- package/dist/lib/routes/Channels.js +8 -8
- package/dist/lib/routes/Guilds.js +17 -19
- package/dist/lib/structures/AutoModerationRule.js +2 -2
- package/dist/lib/structures/AutocompleteInteraction.js +2 -2
- package/dist/lib/structures/CommandInteraction.js +2 -2
- package/dist/lib/structures/ComponentInteraction.js +2 -2
- package/dist/lib/structures/Guild.d.ts +11 -0
- package/dist/lib/structures/Guild.js +46 -6
- package/dist/lib/structures/GuildChannel.js +2 -2
- package/dist/lib/structures/GuildScheduledEvent.js +2 -2
- package/dist/lib/structures/Member.d.ts +1 -1
- package/dist/lib/structures/Member.js +5 -4
- package/dist/lib/structures/Message.js +3 -7
- package/dist/lib/structures/ModalSubmitInteraction.js +2 -2
- package/dist/lib/structures/Role.js +2 -2
- package/dist/lib/structures/StageChannel.d.ts +5 -2
- package/dist/lib/structures/StageChannel.js +17 -3
- package/dist/lib/structures/StageInstance.js +2 -2
- package/dist/lib/structures/VoiceChannel.d.ts +6 -3
- package/dist/lib/structures/VoiceChannel.js +18 -4
- package/dist/lib/types/channels.d.ts +1 -0
- package/dist/lib/types/discordjs-voice.d.ts +12 -0
- package/dist/lib/util/Util.d.ts +4 -2
- package/dist/lib/util/Util.js +27 -2
- package/dist/package.json +4 -1
- package/package.json +4 -1
- package/dist/lib/voice/VoiceConnection.d.ts +0 -7
- package/dist/lib/voice/VoiceConnection.js +0 -16
- package/dist/lib/voice/VoiceConnectionManager.d.ts +0 -7
- package/dist/lib/voice/VoiceConnectionManager.js +0 -15
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
const TypedEmitter_1 = __importDefault(require("../util/TypedEmitter"));
|
|
7
|
-
/** Represents a voice connection. See {@link types/events~VoiceEvents | Voice Events} for a list of events. */
|
|
8
|
-
class VoiceConnection extends TypedEmitter_1.default {
|
|
9
|
-
id;
|
|
10
|
-
constructor(id) {
|
|
11
|
-
super();
|
|
12
|
-
this.id = id;
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
exports.default = VoiceConnection;
|
|
16
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiVm9pY2VDb25uZWN0aW9uLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vbGliL3ZvaWNlL1ZvaWNlQ29ubmVjdGlvbi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUNBLHdFQUFnRDtBQUVoRCwrR0FBK0c7QUFDL0csTUFBcUIsZUFBZ0IsU0FBUSxzQkFBeUI7SUFDbEUsRUFBRSxDQUFTO0lBQ1gsWUFBWSxFQUFVO1FBQ2xCLEtBQUssRUFBRSxDQUFDO1FBQ1IsSUFBSSxDQUFDLEVBQUUsR0FBRyxFQUFFLENBQUM7SUFDakIsQ0FBQztDQUNKO0FBTkQsa0NBTUMifQ==
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type VoiceConnection from "./VoiceConnection";
|
|
2
|
-
import type Client from "../Client";
|
|
3
|
-
import Collection from "../util/Collection";
|
|
4
|
-
export default class VoiceConnectionManager extends Collection<string, VoiceConnection> {
|
|
5
|
-
#private;
|
|
6
|
-
constructor(client: Client);
|
|
7
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
const Collection_1 = __importDefault(require("../util/Collection"));
|
|
7
|
-
class VoiceConnectionManager extends Collection_1.default {
|
|
8
|
-
#client;
|
|
9
|
-
constructor(client) {
|
|
10
|
-
super();
|
|
11
|
-
this.#client = client;
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
exports.default = VoiceConnectionManager;
|
|
15
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiVm9pY2VDb25uZWN0aW9uTWFuYWdlci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL2xpYi92b2ljZS9Wb2ljZUNvbm5lY3Rpb25NYW5hZ2VyLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7O0FBRUEsb0VBQTRDO0FBRTVDLE1BQXFCLHNCQUF1QixTQUFRLG9CQUFtQztJQUNuRixPQUFPLENBQVM7SUFDaEIsWUFBWSxNQUFjO1FBQ3RCLEtBQUssRUFBRSxDQUFDO1FBQ1IsSUFBSSxDQUFDLE9BQU8sR0FBRyxNQUFNLENBQUM7SUFDMUIsQ0FBQztDQUNKO0FBTkQseUNBTUMifQ==
|