mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-18 04:23:31 +01:00
Exposed Discord.Cache
This commit is contained in:
@@ -60,6 +60,10 @@ var _Constants = require("./Constants");
|
|||||||
|
|
||||||
var _Constants2 = _interopRequireDefault(_Constants);
|
var _Constants2 = _interopRequireDefault(_Constants);
|
||||||
|
|
||||||
|
var _UtilCacheJs = require("./Util/Cache.js");
|
||||||
|
|
||||||
|
var _UtilCacheJs2 = _interopRequireDefault(_UtilCacheJs);
|
||||||
|
|
||||||
exports["default"] = {
|
exports["default"] = {
|
||||||
Client: _ClientClient2["default"],
|
Client: _ClientClient2["default"],
|
||||||
Channel: _StructuresChannel2["default"],
|
Channel: _StructuresChannel2["default"],
|
||||||
@@ -74,6 +78,7 @@ exports["default"] = {
|
|||||||
TextChannel: _StructuresTextChannel2["default"],
|
TextChannel: _StructuresTextChannel2["default"],
|
||||||
User: _StructuresUser2["default"],
|
User: _StructuresUser2["default"],
|
||||||
VoiceChannel: _StructuresVoiceChannel2["default"],
|
VoiceChannel: _StructuresVoiceChannel2["default"],
|
||||||
Constants: _Constants2["default"]
|
Constants: _Constants2["default"],
|
||||||
|
Cache: _UtilCacheJs2["default"]
|
||||||
};
|
};
|
||||||
module.exports = exports["default"];
|
module.exports = exports["default"];
|
||||||
|
|||||||
@@ -14,6 +14,7 @@ import TextChannel from "./Structures/TextChannel";
|
|||||||
import User from "./Structures/User";
|
import User from "./Structures/User";
|
||||||
import VoiceChannel from "./Structures/VoiceChannel";
|
import VoiceChannel from "./Structures/VoiceChannel";
|
||||||
import Constants from "./Constants";
|
import Constants from "./Constants";
|
||||||
|
import Cache from "./Util/Cache.js";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
Client,
|
Client,
|
||||||
@@ -29,5 +30,6 @@ export default {
|
|||||||
TextChannel,
|
TextChannel,
|
||||||
User,
|
User,
|
||||||
VoiceChannel,
|
VoiceChannel,
|
||||||
Constants
|
Constants,
|
||||||
|
Cache
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user