@spatulox/simplediscordbot 1.0.12 → 1.0.13
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 +3 -2
- package/dist/bot/Bot.d.ts +4 -2
- package/dist/bot/Bot.d.ts.map +1 -1
- package/dist/bot/Bot.js +4 -1
- package/dist/{manager/interactions/InteractionManager.d.ts → bot/BotInteraction.d.ts} +3 -3
- package/dist/bot/BotInteraction.d.ts.map +1 -0
- package/dist/{manager/interactions/InteractionManager.js → bot/BotInteraction.js} +4 -4
- package/dist/bot/BotMessage.d.ts +5 -5
- package/dist/bot/BotMessage.d.ts.map +1 -1
- package/dist/bot/BotMessage.js +4 -4
- package/dist/index.d.ts +0 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -3
- package/package.json +1 -1
- package/dist/manager/interactions/InteractionManager.d.ts.map +0 -1
package/README.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
[](https://npmjs.com/package/@spatulox/simplediscordbot)
|
|
6
6
|
[](LICENSE)
|
|
7
7
|
|
|
8
|
-
**Framework Discord.js TypeScript
|
|
8
|
+
**Ultra-simple Framework Discord.js TypeScript**
|
|
9
9
|
|
|
10
10
|
## Installation
|
|
11
11
|
```bash
|
|
@@ -42,4 +42,5 @@ const bot = new Bot(client, config);
|
|
|
42
42
|
bot.client.on(Events.ClientReady, async () => {
|
|
43
43
|
Bot.setRandomActivity(randomActivityList, Time.minute.MIN_10.toMilliseconds());
|
|
44
44
|
console.log("Bot ready! ✨");
|
|
45
|
-
});
|
|
45
|
+
});
|
|
46
|
+
```
|
package/dist/bot/Bot.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ import { Client, ActivityType } from 'discord.js';
|
|
|
2
2
|
import { BotLog, ConfigLog } from "./BotLog";
|
|
3
3
|
import { EmbedColor } from "../manager/messages/EmbedManager";
|
|
4
4
|
import { BotMessage } from "./BotMessage";
|
|
5
|
+
import { BotInteraction } from "./BotInteraction";
|
|
5
6
|
export type BotConfig = {
|
|
6
7
|
botIconUrl?: string;
|
|
7
8
|
defaultEmbedColor?: number | EmbedColor;
|
|
@@ -16,9 +17,10 @@ export type RandomBotActivity = {
|
|
|
16
17
|
message: string;
|
|
17
18
|
}[];
|
|
18
19
|
export declare class Bot {
|
|
19
|
-
static _client: Client;
|
|
20
20
|
static readonly log: typeof BotLog;
|
|
21
|
-
static readonly message: BotMessage;
|
|
21
|
+
static readonly message: typeof BotMessage;
|
|
22
|
+
static readonly interaction: typeof BotInteraction;
|
|
23
|
+
static _client: Client;
|
|
22
24
|
private static criticConfig;
|
|
23
25
|
private static _config;
|
|
24
26
|
get config(): InternalBotConfig;
|
package/dist/bot/Bot.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Bot.d.ts","sourceRoot":"","sources":["../../src/bot/Bot.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,MAAM,EAAE,YAAY,EAAkB,MAAM,YAAY,CAAC;AAKjE,OAAO,EAAC,MAAM,EAAE,SAAS,EAAC,MAAM,UAAU,CAAC;AAC3C,OAAO,EAAC,UAAU,EAAe,MAAM,kCAAkC,CAAC;AAC1E,OAAO,EAAC,UAAU,EAAC,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"Bot.d.ts","sourceRoot":"","sources":["../../src/bot/Bot.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,MAAM,EAAE,YAAY,EAAkB,MAAM,YAAY,CAAC;AAKjE,OAAO,EAAC,MAAM,EAAE,SAAS,EAAC,MAAM,UAAU,CAAC;AAC3C,OAAO,EAAC,UAAU,EAAe,MAAM,kCAAkC,CAAC;AAC1E,OAAO,EAAC,UAAU,EAAC,MAAM,cAAc,CAAC;AAExC,OAAO,EAAC,cAAc,EAAC,MAAM,kBAAkB,CAAC;AAShD,MAAM,MAAM,SAAS,GAAG;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,iBAAiB,CAAC,EAAE,MAAM,GAAG,UAAU,CAAC;IACxC,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,GAAG,CAAC,EAAE,SAAS,CAAA;CAClB,CAAA;AAED,MAAM,MAAM,iBAAiB,GAAG;IAC5B,QAAQ,EAAE,MAAM,CAAA;CACnB,GAAG,SAAS,CAAC;AAEd,MAAM,MAAM,iBAAiB,GAAG;IAAC,IAAI,EAAE,YAAY,CAAC;IAAC,OAAO,EAAE,MAAM,CAAA;CAAC,EAAE,CAAA;AAEvE,qBAAa,GAAG;IAGZ,gBAAuB,GAAG,gBAAS;IACnC,gBAAuB,OAAO,oBAAa;IAC3C,gBAAuB,WAAW,wBAAiB;IAGnD,OAAc,OAAO,EAAE,MAAM,CAAC;IAC9B,OAAO,CAAC,MAAM,CAAC,YAAY,CAAe;IAC1C,OAAO,CAAC,MAAM,CAAC,OAAO,CAAoB;IAE1C,IAAI,MAAM,IAAI,iBAAiB,CAAwB;IACvD,IAAI,MAAM,IAAI,MAAM,CAAwB;IAE5C,MAAM,KAAK,MAAM,IAAI,MAAM,CAAwB;IACnD,MAAM,KAAK,MAAM,IAAI,iBAAiB,CAAwB;gBAElD,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,SAAS;IAoBhC,KAAK,CAAC,QAAQ,GAAE,MAAU,GAAG,OAAO,CAAC,OAAO,CAAC;IAmC1D,MAAM,CAAC,WAAW,CAAC,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,YAAY;IAOtD,MAAM,CAAC,iBAAiB,CAAC,cAAc,EAAE,iBAAiB,EAAE,UAAU,GAAE,MAAM,GAAG,IAAW;CA0B/F"}
|
package/dist/bot/Bot.js
CHANGED
|
@@ -13,6 +13,7 @@ const BotLog_1 = require("./BotLog");
|
|
|
13
13
|
const EmbedManager_1 = require("../manager/messages/EmbedManager");
|
|
14
14
|
const BotMessage_1 = require("./BotMessage");
|
|
15
15
|
const BotEnv_1 = require("./BotEnv");
|
|
16
|
+
const BotInteraction_1 = require("./BotInteraction");
|
|
16
17
|
dotenv_1.default.config();
|
|
17
18
|
class Bot {
|
|
18
19
|
get config() { return Bot._config; }
|
|
@@ -90,5 +91,7 @@ class Bot {
|
|
|
90
91
|
}
|
|
91
92
|
}
|
|
92
93
|
exports.Bot = Bot;
|
|
94
|
+
// Static ref
|
|
93
95
|
Bot.log = BotLog_1.BotLog;
|
|
94
|
-
Bot.message =
|
|
96
|
+
Bot.message = BotMessage_1.BotMessage;
|
|
97
|
+
Bot.interaction = BotInteraction_1.BotInteraction;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { BaseInteraction, InteractionResponse, Message } from "discord.js";
|
|
2
|
-
import { SendableComponent } from "../builder/SendableComponentBuilder";
|
|
3
|
-
export declare class
|
|
2
|
+
import { SendableComponent } from "../manager/builder/SendableComponentBuilder";
|
|
3
|
+
export declare class BotInteraction {
|
|
4
4
|
/**
|
|
5
5
|
* InteractionReplyOptions && InteractionUpdateOptions
|
|
6
6
|
* The two have "content", "embeds" & "flags" field, so an internal cast is ok, unless discord/discordjs deprecate it
|
|
@@ -14,4 +14,4 @@ export declare class InteractionManager {
|
|
|
14
14
|
static defer(interaction: BaseInteraction): Promise<void>;
|
|
15
15
|
static update(interaction: BaseInteraction, content: string, component: SendableComponent): Promise<void>;
|
|
16
16
|
}
|
|
17
|
-
//# sourceMappingURL=
|
|
17
|
+
//# sourceMappingURL=BotInteraction.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BotInteraction.d.ts","sourceRoot":"","sources":["../../src/bot/BotInteraction.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,eAAe,EAEf,mBAAmB,EAEnB,OAAO,EACV,MAAM,YAAY,CAAC;AACpB,OAAO,EAAC,iBAAiB,EAA2B,MAAM,6CAA6C,CAAC;AAExG,qBAAa,cAAc;IACvB;;;OAGG;IACH,OAAO,CAAC,MAAM,CAAC,iBAAiB;IAIhC,OAAO,CAAC,MAAM,CAAC,kBAAkB;IAIjC,OAAO,CAAC,MAAM,CAAC,aAAa;WAIf,IAAI,CACb,WAAW,EAAE,eAAe,EAC5B,OAAO,EAAE,MAAM,EACf,SAAS,EAAE,iBAAiB,EAC5B,SAAS,GAAE,OAAe,GAC3B,OAAO,CAAC,mBAAmB,CAAC,OAAO,CAAC,GAAG,OAAO,CAAC,OAAO,CAAC,GAAG,OAAO,CAAC;WAaxD,KAAK,CACd,WAAW,EAAE,eAAe,EAC5B,OAAO,EAAE,MAAM,EACf,SAAS,EAAE,iBAAiB,EAC5B,SAAS,GAAE,OAAe,GAC3B,OAAO,CAAC,mBAAmB,CAAC,OAAO,CAAC,GAAG,OAAO,CAAC,OAAO,CAAC,GAAG,OAAO,CAAC;WAIxD,QAAQ,CACjB,WAAW,EAAE,eAAe,EAC5B,OAAO,EAAE,MAAM,EACf,SAAS,EAAE,iBAAiB,EAC5B,SAAS,GAAE,OAAe,GAC3B,OAAO,CAAC,mBAAmB,CAAC,OAAO,CAAC,GAAG,OAAO,CAAC,OAAO,CAAC,GAAG,OAAO,CAAC;WAIxD,KAAK,CAAC,WAAW,EAAE,eAAe,GAAG,OAAO,CAAC,IAAI,CAAC;WAqBlD,MAAM,CACf,WAAW,EAAE,eAAe,EAC5B,OAAO,EAAE,MAAM,EACf,SAAS,EAAE,iBAAiB,GAC7B,OAAO,CAAC,IAAI,CAAC;CAgBnB"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
const SendableComponentBuilder_1 = require("../builder/SendableComponentBuilder");
|
|
5
|
-
class
|
|
3
|
+
exports.BotInteraction = void 0;
|
|
4
|
+
const SendableComponentBuilder_1 = require("../manager/builder/SendableComponentBuilder");
|
|
5
|
+
class BotInteraction {
|
|
6
6
|
/**
|
|
7
7
|
* InteractionReplyOptions && InteractionUpdateOptions
|
|
8
8
|
* The two have "content", "embeds" & "flags" field, so an internal cast is ok, unless discord/discordjs deprecate it
|
|
@@ -65,4 +65,4 @@ class InteractionManager {
|
|
|
65
65
|
}
|
|
66
66
|
}
|
|
67
67
|
}
|
|
68
|
-
exports.
|
|
68
|
+
exports.BotInteraction = BotInteraction;
|
package/dist/bot/BotMessage.d.ts
CHANGED
|
@@ -4,16 +4,16 @@ export declare class BotMessage {
|
|
|
4
4
|
/**
|
|
5
5
|
* Send message to any text-based channel
|
|
6
6
|
*/
|
|
7
|
-
send(channel: TextChannel | DMChannel | ThreadChannel | string, content?: string | null, component?: SendableComponent): Promise<Message | boolean>;
|
|
8
|
-
send(channel: TextChannel | DMChannel | ThreadChannel | string, content: MessageCreateOptions): Promise<Message | boolean>;
|
|
9
|
-
sendDM(user: User | GuildMember | string, content?: string, component?: SendableComponent): Promise<Message | boolean>;
|
|
7
|
+
static send(channel: TextChannel | DMChannel | ThreadChannel | string, content?: string | null, component?: SendableComponent): Promise<Message | boolean>;
|
|
8
|
+
static send(channel: TextChannel | DMChannel | ThreadChannel | string, content: MessageCreateOptions): Promise<Message | boolean>;
|
|
9
|
+
static sendDM(user: User | GuildMember | string, content?: string, component?: SendableComponent): Promise<Message | boolean>;
|
|
10
10
|
/**
|
|
11
11
|
* Quick success message
|
|
12
12
|
*/
|
|
13
|
-
success(channel: TextChannel | DMChannel | ThreadChannel | User | GuildMember, message: string): Promise<Message | boolean>;
|
|
13
|
+
static success(channel: TextChannel | DMChannel | ThreadChannel | User | GuildMember, message: string): Promise<Message | boolean>;
|
|
14
14
|
/**
|
|
15
15
|
* Quick error message
|
|
16
16
|
*/
|
|
17
|
-
error(channel: TextChannel | DMChannel | ThreadChannel | User | GuildMember, message: string): Promise<Message | boolean>;
|
|
17
|
+
static error(channel: TextChannel | DMChannel | ThreadChannel | User | GuildMember, message: string): Promise<Message | boolean>;
|
|
18
18
|
}
|
|
19
19
|
//# sourceMappingURL=BotMessage.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BotMessage.d.ts","sourceRoot":"","sources":["../../src/bot/BotMessage.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,WAAW,EACX,SAAS,EACT,aAAa,EACb,OAAO,EACP,IAAI,EACJ,WAAW,EAAE,oBAAoB,EACpC,MAAM,YAAY,CAAC;AAIpB,OAAO,EAAC,iBAAiB,EAA2B,MAAM,6CAA6C,CAAC;AAGxG,qBAAa,UAAU;IACnB;;OAEG;
|
|
1
|
+
{"version":3,"file":"BotMessage.d.ts","sourceRoot":"","sources":["../../src/bot/BotMessage.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,WAAW,EACX,SAAS,EACT,aAAa,EACb,OAAO,EACP,IAAI,EACJ,WAAW,EAAE,oBAAoB,EACpC,MAAM,YAAY,CAAC;AAIpB,OAAO,EAAC,iBAAiB,EAA2B,MAAM,6CAA6C,CAAC;AAGxG,qBAAa,UAAU;IACnB;;OAEG;WACU,IAAI,CAAC,OAAO,EAAC,WAAW,GAAG,SAAS,GAAG,aAAa,GAAG,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,EAAE,SAAS,CAAC,EAAE,iBAAiB,GAAG,OAAO,CAAC,OAAO,GAAG,OAAO,CAAC;WAClJ,IAAI,CAAC,OAAO,EAAC,WAAW,GAAG,SAAS,GAAG,aAAa,GAAG,MAAM,EAAE,OAAO,EAAE,oBAAoB,GAAG,OAAO,CAAC,OAAO,GAAG,OAAO,CAAC;WAmDzH,MAAM,CAAC,IAAI,EAAE,IAAI,GAAG,WAAW,GAAG,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,EAAE,SAAS,CAAC,EAAE,iBAAiB,GAAG,OAAO,CAAC,OAAO,GAAG,OAAO,CAAC;IA4BnI;;OAEG;IACH,MAAM,CAAC,OAAO,CAAC,OAAO,EAAE,WAAW,GAAG,SAAS,GAAG,aAAa,GAAG,IAAI,GAAG,WAAW,EAAE,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,GAAG,OAAO,CAAC;IAQlI;;OAEG;IACH,MAAM,CAAC,KAAK,CAAC,OAAO,EAAE,WAAW,GAAG,SAAS,GAAG,aAAa,GAAG,IAAI,GAAG,WAAW,EAAE,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,GAAG,OAAO,CAAC;CAOnI"}
|
package/dist/bot/BotMessage.js
CHANGED
|
@@ -7,7 +7,7 @@ const Bot_1 = require("./Bot");
|
|
|
7
7
|
const EmbedManager_1 = require("../manager/messages/EmbedManager");
|
|
8
8
|
const SendableComponentBuilder_1 = require("../manager/builder/SendableComponentBuilder");
|
|
9
9
|
class BotMessage {
|
|
10
|
-
async send(channel, content, component) {
|
|
10
|
+
static async send(channel, content, component) {
|
|
11
11
|
try {
|
|
12
12
|
if (!channel) {
|
|
13
13
|
Log_1.Log.warn('Cannot send message: invalid channel');
|
|
@@ -52,7 +52,7 @@ class BotMessage {
|
|
|
52
52
|
return false;
|
|
53
53
|
}
|
|
54
54
|
}
|
|
55
|
-
async sendDM(user, content, component) {
|
|
55
|
+
static async sendDM(user, content, component) {
|
|
56
56
|
try {
|
|
57
57
|
let targetUser;
|
|
58
58
|
if (user instanceof discord_js_1.User || user instanceof discord_js_1.GuildMember) {
|
|
@@ -84,7 +84,7 @@ class BotMessage {
|
|
|
84
84
|
/**
|
|
85
85
|
* Quick success message
|
|
86
86
|
*/
|
|
87
|
-
success(channel, message) {
|
|
87
|
+
static success(channel, message) {
|
|
88
88
|
const embed = EmbedManager_1.EmbedManager.success(message);
|
|
89
89
|
if (channel instanceof discord_js_1.User || channel instanceof discord_js_1.GuildMember) {
|
|
90
90
|
return this.sendDM(channel, message, embed);
|
|
@@ -94,7 +94,7 @@ class BotMessage {
|
|
|
94
94
|
/**
|
|
95
95
|
* Quick error message
|
|
96
96
|
*/
|
|
97
|
-
error(channel, message) {
|
|
97
|
+
static error(channel, message) {
|
|
98
98
|
const embed = EmbedManager_1.EmbedManager.error(message);
|
|
99
99
|
if (channel instanceof discord_js_1.User || channel instanceof discord_js_1.GuildMember) {
|
|
100
100
|
return this.sendDM(channel, message, embed);
|
package/dist/index.d.ts
CHANGED
|
@@ -8,7 +8,6 @@ export { GuildManager } from "./manager/guild/GuildManager";
|
|
|
8
8
|
export { UserManager } from './manager/direct/UserManager';
|
|
9
9
|
export { ModalManager } from "./manager/interactions/ModalManager";
|
|
10
10
|
export { SelectMenuManager } from "./manager/interactions/SelectMenuManager";
|
|
11
|
-
export { InteractionManager } from "./manager/interactions/InteractionManager";
|
|
12
11
|
export { Time } from "./utils/times/UnitTime";
|
|
13
12
|
export { Log } from "./utils/Log";
|
|
14
13
|
export { SimpleMutex } from "./utils/SimpleMutex";
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,WAAW,CAAA;AAC/B,OAAO,EAAC,MAAM,EAAC,MAAM,cAAc,CAAC;AAIpC,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAA;AAEnD,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,iCAAiC,CAAC;AAC3E,OAAO,EAAE,cAAc,EAAE,MAAM,mCAAmC,CAAC;AACnE,OAAO,EAAE,eAAe,EAAE,MAAM,oCAAoC,CAAC;AAErE,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAC5D,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAI3D,OAAO,EAAE,YAAY,EAAE,MAAM,qCAAqC,CAAC;AACnE,OAAO,EAAE,iBAAiB,EAAE,MAAM,0CAA0C,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,WAAW,CAAA;AAC/B,OAAO,EAAC,MAAM,EAAC,MAAM,cAAc,CAAC;AAIpC,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAA;AAEnD,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,iCAAiC,CAAC;AAC3E,OAAO,EAAE,cAAc,EAAE,MAAM,mCAAmC,CAAC;AACnE,OAAO,EAAE,eAAe,EAAE,MAAM,oCAAoC,CAAC;AAErE,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAC5D,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAI3D,OAAO,EAAE,YAAY,EAAE,MAAM,qCAAqC,CAAC;AACnE,OAAO,EAAE,iBAAiB,EAAE,MAAM,0CAA0C,CAAC;AAG7E,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAA;AAC7C,OAAO,EAAE,GAAG,EAAE,MAAM,aAAa,CAAA;AACjC,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAA;AACjD,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AAIpD,YAAY,EAAE,SAAS,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.DiscordRegex = exports.SimpleMutex = exports.Log = exports.Time = exports.
|
|
3
|
+
exports.DiscordRegex = exports.SimpleMutex = exports.Log = exports.Time = exports.SelectMenuManager = exports.ModalManager = exports.UserManager = exports.GuildManager = exports.ReactionManager = exports.WebhookManager = exports.EmbedColor = exports.EmbedManager = exports.FileManager = exports.BotEnv = exports.Bot = void 0;
|
|
4
4
|
var Bot_1 = require("./bot/Bot");
|
|
5
5
|
Object.defineProperty(exports, "Bot", { enumerable: true, get: function () { return Bot_1.Bot; } });
|
|
6
6
|
var BotEnv_1 = require("./bot/BotEnv");
|
|
@@ -24,8 +24,6 @@ var ModalManager_1 = require("./manager/interactions/ModalManager");
|
|
|
24
24
|
Object.defineProperty(exports, "ModalManager", { enumerable: true, get: function () { return ModalManager_1.ModalManager; } });
|
|
25
25
|
var SelectMenuManager_1 = require("./manager/interactions/SelectMenuManager");
|
|
26
26
|
Object.defineProperty(exports, "SelectMenuManager", { enumerable: true, get: function () { return SelectMenuManager_1.SelectMenuManager; } });
|
|
27
|
-
var InteractionManager_1 = require("./manager/interactions/InteractionManager");
|
|
28
|
-
Object.defineProperty(exports, "InteractionManager", { enumerable: true, get: function () { return InteractionManager_1.InteractionManager; } });
|
|
29
27
|
// Utils
|
|
30
28
|
var UnitTime_1 = require("./utils/times/UnitTime");
|
|
31
29
|
Object.defineProperty(exports, "Time", { enumerable: true, get: function () { return UnitTime_1.Time; } });
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"InteractionManager.d.ts","sourceRoot":"","sources":["../../../src/manager/interactions/InteractionManager.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,eAAe,EACU,mBAAmB,EAClB,OAAO,EACpC,MAAM,YAAY,CAAC;AAEpB,OAAO,EAAC,iBAAiB,EAA2B,MAAM,qCAAqC,CAAC;AAEhG,qBAAa,kBAAkB;IAE3B;;;OAGG;IACH,OAAO,CAAC,MAAM,CAAC,iBAAiB;IAIhC,OAAO,CAAC,MAAM,CAAC,kBAAkB;IAIjC,OAAO,CAAC,MAAM,CAAC,aAAa;WAIf,IAAI,CACb,WAAW,EAAE,eAAe,EAC5B,OAAO,EAAE,MAAM,EACf,SAAS,EAAE,iBAAiB,EAC5B,SAAS,GAAE,OAAe,GAC3B,OAAO,CAAC,mBAAmB,CAAC,OAAO,CAAC,GAAG,OAAO,CAAC,OAAO,CAAC,GAAG,OAAO,CAAC;WAaxD,KAAK,CACd,WAAW,EAAE,eAAe,EAC5B,OAAO,EAAE,MAAM,EACf,SAAS,EAAE,iBAAiB,EAC5B,SAAS,GAAE,OAAe,GAC3B,OAAO,CAAC,mBAAmB,CAAC,OAAO,CAAC,GAAG,OAAO,CAAC,OAAO,CAAC,GAAG,OAAO,CAAC;WAIxD,QAAQ,CACjB,WAAW,EAAE,eAAe,EAC5B,OAAO,EAAE,MAAM,EACf,SAAS,EAAE,iBAAiB,EAC5B,SAAS,GAAE,OAAe,GAC3B,OAAO,CAAC,mBAAmB,CAAC,OAAO,CAAC,GAAG,OAAO,CAAC,OAAO,CAAC,GAAG,OAAO,CAAC;WAIxD,KAAK,CAAC,WAAW,EAAE,eAAe,GAAG,OAAO,CAAC,IAAI,CAAC;WAqBlD,MAAM,CACf,WAAW,EAAE,eAAe,EAC5B,OAAO,EAAE,MAAM,EACf,SAAS,EAAE,iBAAiB,GAC7B,OAAO,CAAC,IAAI,CAAC;CAgBnB"}
|