@spatulox/simplediscordbot 1.0.30 → 1.0.31

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.
Files changed (40) hide show
  1. package/dist/utils/network/InternetChecker.js +1 -0
  2. package/package.json +1 -1
  3. package/dist/SimpleDiscordBotInfo.d.ts +0 -8
  4. package/dist/bot/Bot.d.ts +0 -35
  5. package/dist/bot/BotEnv.d.ts +0 -6
  6. package/dist/bot/BotInteraction.d.ts +0 -21
  7. package/dist/bot/BotLog.d.ts +0 -52
  8. package/dist/bot/BotMessage.d.ts +0 -20
  9. package/dist/manager/FileManager.d.ts +0 -37
  10. package/dist/manager/builder/SendableComponentBuilder.d.ts +0 -3
  11. package/dist/manager/direct/BasicUserManager.d.ts +0 -28
  12. package/dist/manager/direct/UserManager.d.ts +0 -6
  13. package/dist/manager/guild/ChannelManager/ForumChannelManager.d.ts +0 -9
  14. package/dist/manager/guild/ChannelManager/GuildChannelList.d.ts +0 -17
  15. package/dist/manager/guild/ChannelManager/GuildChannelManager.d.ts +0 -18
  16. package/dist/manager/guild/ChannelManager/GuildMessageManager.d.ts +0 -23
  17. package/dist/manager/guild/ChannelManager/GuildTextChannelManager.d.ts +0 -9
  18. package/dist/manager/guild/ChannelManager/GuildVoiceChannelManager.d.ts +0 -9
  19. package/dist/manager/guild/ChannelManager/NewsChannelManager.d.ts +0 -9
  20. package/dist/manager/guild/ChannelManager/StageChannelManager.d.ts +0 -9
  21. package/dist/manager/guild/ChannelManager/ThreadChannelManager.d.ts +0 -13
  22. package/dist/manager/guild/GuildManager.d.ts +0 -32
  23. package/dist/manager/guild/GuildUserManager.d.ts +0 -49
  24. package/dist/manager/guild/InviteManager.d.ts +0 -21
  25. package/dist/manager/guild/InviteManager_old.d.ts +0 -24
  26. package/dist/manager/guild/RoleManager.d.ts +0 -24
  27. package/dist/manager/interactions/ModalManager.d.ts +0 -23
  28. package/dist/manager/interactions/SelectMenuManager.d.ts +0 -58
  29. package/dist/manager/messages/EmbedManager.d.ts +0 -97
  30. package/dist/manager/messages/ReactionManager.d.ts +0 -26
  31. package/dist/manager/messages/WebhookManager.d.ts +0 -33
  32. package/dist/test/client.d.ts +0 -3
  33. package/dist/test/index.d.ts +0 -2
  34. package/dist/test/randomActivityList.d.ts +0 -3
  35. package/dist/type/FolderName.d.ts +0 -2
  36. package/dist/utils/DiscordRegex.d.ts +0 -66
  37. package/dist/utils/Log.d.ts +0 -9
  38. package/dist/utils/SimpleMutex.d.ts +0 -16
  39. package/dist/utils/network/InternetChecker.d.ts +0 -10
  40. package/dist/utils/times/UnitTime.d.ts +0 -187
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.InternetChecker = void 0;
4
4
  const Log_1 = require("../Log");
5
5
  const UnitTime_1 = require("../times/UnitTime");
6
+ /** @internal*/
6
7
  class InternetChecker {
7
8
  /**
8
9
  * Check internet connection towards 1.1.1.1 (Cloudflare DNS)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spatulox/simplediscordbot",
3
- "version": "1.0.30",
3
+ "version": "1.0.31",
4
4
  "author": "Spatulox",
5
5
  "description": "Simple discord bot framework to set up a bot under 30 secondes",
6
6
  "exports": {
@@ -1,8 +0,0 @@
1
- export declare const SimpleDiscordBotInfo: {
2
- name: string;
3
- version: string;
4
- author: string;
5
- description: string;
6
- license: string;
7
- };
8
- //# sourceMappingURL=SimpleDiscordBotInfo.d.ts.map
package/dist/bot/Bot.d.ts DELETED
@@ -1,35 +0,0 @@
1
- import { Client, ActivityType } from 'discord.js';
2
- import { BotLog, ConfigLog } from "./BotLog";
3
- import { EmbedColor } from "../manager/messages/EmbedManager";
4
- import { BotMessage } from "./BotMessage";
5
- import { BotInteraction } from "./BotInteraction";
6
- export type BotConfig = {
7
- botIconUrl?: string;
8
- defaultEmbedColor?: number | EmbedColor;
9
- botName?: string;
10
- log?: ConfigLog;
11
- };
12
- export type InternalBotConfig = {
13
- clientId: string;
14
- } & BotConfig;
15
- export type RandomBotActivity = {
16
- type: ActivityType;
17
- message: string;
18
- }[];
19
- export declare class Bot {
20
- static readonly log: typeof BotLog;
21
- static readonly message: typeof BotMessage;
22
- static readonly interaction: typeof BotInteraction;
23
- static _client: Client;
24
- private static criticConfig;
25
- private static _config;
26
- get config(): InternalBotConfig;
27
- get client(): Client;
28
- static get client(): Client;
29
- static get config(): InternalBotConfig;
30
- constructor(client: Client, config: BotConfig);
31
- login(maxTries?: number): Promise<boolean>;
32
- static setActivity(message: string, type: ActivityType): void;
33
- static setRandomActivity(randomActivity: RandomBotActivity, intervalMs?: number | null): void;
34
- }
35
- //# sourceMappingURL=Bot.d.ts.map
@@ -1,6 +0,0 @@
1
- export declare const BotEnv: {
2
- readonly token: string;
3
- readonly dev: boolean;
4
- readonly clientId: string;
5
- };
6
- //# sourceMappingURL=BotEnv.d.ts.map
@@ -1,21 +0,0 @@
1
- import { BaseInteraction, InteractionResponse, Message } from "discord.js";
2
- import { SendableComponent } from "../manager/builder/SendableComponentBuilder";
3
- export declare class BotInteraction {
4
- /**
5
- * InteractionReplyOptions && InteractionUpdateOptions
6
- * The two have "content", "embeds" & "flags" field, so an internal cast is ok, unless discord/discordjs deprecate it
7
- */
8
- private static buildReplyOptions;
9
- private static buildUpdateOptions;
10
- private static _buildOptions;
11
- static send(interaction: BaseInteraction, content: SendableComponent, ephemeral?: boolean): Promise<InteractionResponse<boolean> | Message<boolean> | boolean>;
12
- static send(interaction: BaseInteraction, content: string, component: SendableComponent, ephemeral?: boolean): Promise<InteractionResponse<boolean> | Message<boolean> | boolean>;
13
- static reply(interaction: BaseInteraction, content: SendableComponent, ephemeral?: boolean): Promise<InteractionResponse<boolean> | Message<boolean> | boolean>;
14
- static reply(interaction: BaseInteraction, content: string, component: SendableComponent, ephemeral?: boolean): Promise<InteractionResponse<boolean> | Message<boolean> | boolean>;
15
- static followUp(interaction: BaseInteraction, content: SendableComponent, ephemeral?: boolean): Promise<InteractionResponse<boolean> | Message<boolean> | boolean>;
16
- static followUp(interaction: BaseInteraction, content: string, component: SendableComponent, ephemeral?: boolean): Promise<InteractionResponse<boolean> | Message<boolean> | boolean>;
17
- static defer(interaction: BaseInteraction): Promise<void>;
18
- static update(interaction: BaseInteraction, content: SendableComponent): Promise<InteractionResponse<boolean> | Message<boolean> | boolean>;
19
- static update(interaction: BaseInteraction, content: string, component: SendableComponent): Promise<InteractionResponse<boolean> | Message<boolean> | boolean>;
20
- }
21
- //# sourceMappingURL=BotInteraction.d.ts.map
@@ -1,52 +0,0 @@
1
- import { EmbedBuilder, Message } from 'discord.js';
2
- export type ConfigLog = {
3
- logChannelId: string;
4
- errorChannelId: string;
5
- info: {
6
- console: boolean;
7
- discord: boolean;
8
- };
9
- error: {
10
- console: boolean;
11
- discord: boolean;
12
- };
13
- warn: {
14
- console: boolean;
15
- discord: boolean;
16
- };
17
- debug: {
18
- console: boolean;
19
- discord: boolean;
20
- };
21
- };
22
- export declare class BotLog {
23
- private static logChannel;
24
- private static errorChannel;
25
- constructor();
26
- static config(): ConfigLog | undefined;
27
- /**
28
- * Initialize Discord logging channels and update Bot.log references
29
- */
30
- static initDiscordLogging(): Promise<void>;
31
- /**
32
- * Send content to specific Discord channel
33
- */
34
- private static _sendToChannel;
35
- /**
36
- * Send INFO log - TEXT or EMBED ! Respecte config.log.info
37
- */
38
- static info(content: string | EmbedBuilder): Promise<Message | void>;
39
- /**
40
- * Send ERROR log - TEXT or EMBED ! Respecte config.log.error
41
- */
42
- static error(content: string | EmbedBuilder): Promise<Message | void>;
43
- /**
44
- * Send WARNING log - TEXT or EMBED ! Respecte config.log.warn
45
- */
46
- static warn(content: string | EmbedBuilder): Promise<Message | void>;
47
- /**
48
- * Send DEBUG log - TEXT or EMBED ! Respecte config.log.debug
49
- */
50
- static debug(content: string | EmbedBuilder): Promise<Message | void>;
51
- }
52
- //# sourceMappingURL=BotLog.d.ts.map
@@ -1,20 +0,0 @@
1
- import { TextChannel, DMChannel, ThreadChannel, Message, User, GuildMember, MessageCreateOptions } from 'discord.js';
2
- import { SendableComponent } from "../manager/builder/SendableComponentBuilder";
3
- export declare class BotMessage {
4
- /**
5
- * Send message to any text-based channel
6
- */
7
- static send(channel: TextChannel | DMChannel | ThreadChannel | string, content?: string | null, component?: SendableComponent): Promise<Message | null>;
8
- static send(channel: TextChannel | DMChannel | ThreadChannel | string, content: SendableComponent): Promise<Message | null>;
9
- static send(channel: TextChannel | DMChannel | ThreadChannel | string, content: MessageCreateOptions): Promise<Message | null>;
10
- static sendDM(user: User | GuildMember | string, content?: string, component?: SendableComponent): Promise<Message | null>;
11
- /**
12
- * Quick success message
13
- */
14
- static success(channel: TextChannel | DMChannel | ThreadChannel | User | GuildMember, message: string): Promise<Message | null>;
15
- /**
16
- * Quick error message
17
- */
18
- static error(channel: TextChannel | DMChannel | ThreadChannel | User | GuildMember, message: string): Promise<Message | null>;
19
- }
20
- //# sourceMappingURL=BotMessage.d.ts.map
@@ -1,37 +0,0 @@
1
- export declare class FileManager {
2
- /**
3
- * Reads a JSON file synchronously.
4
- * @param filePath Full path to the JSON file
5
- * @returns Parsed JSON object or 'Error' string on failure
6
- */
7
- static readJsonFile(filePath: string): Promise<any | false>;
8
- /**
9
- * Lists all directories in a given path.
10
- * @param directoryPath Path to scan for directories
11
- * @returns Array of directory names or false on error
12
- */
13
- static listDirectories(directoryPath: string): Promise<string[] | false>;
14
- /**
15
- * Lists all JSON files in a directory.
16
- * @param directoryPath Path to scan for JSON files
17
- * @returns Array of JSON filenames or false on error
18
- */
19
- static listJsonFiles(directoryPath: string): Promise<string[] | false>;
20
- /**
21
- * Lists files with specific extension in a directory.
22
- * @param directoryPath Path to scan
23
- * @param extension File extension (with or without dot)
24
- * @returns Array of matching filenames or 'Error' string on failure
25
- */
26
- static listFiles(directoryPath: string, extension: string): Promise<string[] | false>;
27
- /**
28
- * Creates directory structure and writes JSON data to file.
29
- * @param directoryPath Full directory path (creates if missing)
30
- * @param filename Filename without extension
31
- * @param data Data to write (JSON serializable)
32
- * @param sendErrorToErrorChannel Send error to the error channel
33
- * @returns true on success, false on failure
34
- */
35
- static writeJsonFile(directoryPath: string, filename: string, data: any, sendErrorToErrorChannel?: boolean): Promise<boolean>;
36
- }
37
- //# sourceMappingURL=FileManager.d.ts.map
@@ -1,3 +0,0 @@
1
- import { ActionRowBuilder, EmbedBuilder, MessageActionRowComponentBuilder } from "discord.js";
2
- export type SendableComponent = EmbedBuilder | ActionRowBuilder<MessageActionRowComponentBuilder>;
3
- //# sourceMappingURL=SendableComponentBuilder.d.ts.map
@@ -1,28 +0,0 @@
1
- import { GuildMember, Message, MessageCreateOptions, User } from "discord.js";
2
- import { SendableComponent } from "../builder/SendableComponentBuilder";
3
- export declare abstract class BasicUserManager {
4
- /**
5
- * Find member in specific guild
6
- */
7
- static findInGuild(guildId: string, memberId: string): Promise<GuildMember | null>;
8
- /**
9
- * Check if user is still in guild
10
- */
11
- static isInGuild(guildId: string, userId: string): Promise<boolean>;
12
- /**
13
- * Overload for send
14
- */
15
- static send(user_id: string, content: string): Promise<Message>;
16
- static send(user: User, content: string): Promise<Message>;
17
- static send(user: GuildMember, content: string): Promise<Message>;
18
- static send(user_id: string, component: SendableComponent | SendableComponent[]): Promise<Message>;
19
- static send(user: User, component: SendableComponent | SendableComponent[]): Promise<Message>;
20
- static send(user: GuildMember, component: SendableComponent | SendableComponent[]): Promise<Message>;
21
- static send(user_id: string, content: string, component: SendableComponent | SendableComponent[]): Promise<Message>;
22
- static send(user: User, content: string, component: SendableComponent | SendableComponent[]): Promise<Message>;
23
- static send(user: GuildMember, content: string, component: SendableComponent | SendableComponent[]): Promise<Message>;
24
- static send(user_id_or_user: string, options: MessageCreateOptions): Promise<Message>;
25
- static send(user_id_or_user: User, options: MessageCreateOptions): Promise<Message>;
26
- static send(user_id_or_user: GuildMember, options: MessageCreateOptions): Promise<Message>;
27
- }
28
- //# sourceMappingURL=BasicUserManager.d.ts.map
@@ -1,6 +0,0 @@
1
- import { BasicUserManager } from "./BasicUserManager";
2
- import { User } from "discord.js";
3
- export declare class UserManager extends BasicUserManager {
4
- static find(userId: string): Promise<User | null>;
5
- }
6
- //# sourceMappingURL=UserManager.d.ts.map
@@ -1,9 +0,0 @@
1
- import { GuildChannelManager } from "./GuildChannelManager";
2
- import { ForumChannel, GuildChannelCreateOptions } from "discord.js";
3
- export declare class ForumChannelManager extends GuildChannelManager {
4
- static findInGuild(guildId: string, channelId: string): Promise<ForumChannel | null>;
5
- static find(channelId: string): Promise<ForumChannel | null>;
6
- static findAll(guildId: string): ForumChannel[];
7
- static create(guildId: string, name: string, options?: Omit<GuildChannelCreateOptions, 'type'>): Promise<ForumChannel>;
8
- }
9
- //# sourceMappingURL=ForumChannelManager.d.ts.map
@@ -1,17 +0,0 @@
1
- import { GuildChannelManager } from "./GuildChannelManager";
2
- import { ForumChannelManager } from "./ForumChannelManager";
3
- import { NewsChannelManager } from "./NewsChannelManager";
4
- import { StageChannelManager } from "./StageChannelManager";
5
- import { GuildTextChannelManager } from "./GuildTextChannelManager";
6
- import { ThreadChannelManager } from "./ThreadChannelManager";
7
- import { GuildVoiceChannelManager } from "./GuildVoiceChannelManager";
8
- export declare class GuildChannelList {
9
- static readonly forum: typeof ForumChannelManager;
10
- static readonly any: typeof GuildChannelManager;
11
- static readonly news: typeof NewsChannelManager;
12
- static readonly stage: typeof StageChannelManager;
13
- static readonly text: typeof GuildTextChannelManager;
14
- static readonly thread: typeof ThreadChannelManager;
15
- static readonly voice: typeof GuildVoiceChannelManager;
16
- }
17
- //# sourceMappingURL=GuildChannelList.d.ts.map
@@ -1,18 +0,0 @@
1
- import { GuildBasedChannel, GuildChannelCreateOptions } from 'discord.js';
2
- import { GuildMessageManager } from "./GuildMessageManager";
3
- export declare class GuildChannelManager {
4
- static readonly message: typeof GuildMessageManager;
5
- /**
6
- * Recherche un channel par ID dans une guild spécifique
7
- */
8
- static findInGuild(guildId: string, channelId: string): Promise<GuildBasedChannel | null>;
9
- static find(channelId: string): Promise<GuildBasedChannel | null>;
10
- static findAll(guildId: string): GuildBasedChannel[];
11
- /**
12
- * Recherche channels par nom (insensible à la casse)
13
- */
14
- static findByName(guildId: string, name: string): GuildBasedChannel[];
15
- protected static _create(guildId: string, options: GuildChannelCreateOptions): Promise<GuildBasedChannel>;
16
- static delete(channelId: string): Promise<boolean>;
17
- }
18
- //# sourceMappingURL=GuildChannelManager.d.ts.map
@@ -1,23 +0,0 @@
1
- import { Message, MessageCreateOptions } from "discord.js";
2
- import { SendableComponent } from "../../builder/SendableComponentBuilder";
3
- export declare class GuildMessageManager {
4
- /**
5
- * Overloads for send
6
- */
7
- static send(channelId: string, content: string): Promise<Message>;
8
- static send(channelId: string, component: SendableComponent | SendableComponent[]): Promise<Message>;
9
- static send(channelId: string, options: MessageCreateOptions): Promise<Message>;
10
- /**
11
- * Delete message
12
- */
13
- static delete(channelId: string, messageId: string): Promise<boolean>;
14
- /**
15
- * Fetch messages (last X messages, default 10)
16
- */
17
- static fetch(channelId: string, limit?: number): Promise<Message[]>;
18
- /**
19
- * Fetch single message
20
- */
21
- static fetchOne(channelId: string, messageId: string): Promise<Message | null>;
22
- }
23
- //# sourceMappingURL=GuildMessageManager.d.ts.map
@@ -1,9 +0,0 @@
1
- import { TextChannel, GuildChannelCreateOptions } from "discord.js";
2
- import { GuildChannelManager } from "./GuildChannelManager";
3
- export declare class GuildTextChannelManager extends GuildChannelManager {
4
- static findInGuild(guildId: string, channelId: string): Promise<TextChannel | null>;
5
- static find(channelId: string): Promise<TextChannel | null>;
6
- static findAll(guildId: string): TextChannel[];
7
- static create(guildId: string, name: string, options?: Omit<GuildChannelCreateOptions, 'type'>): Promise<TextChannel>;
8
- }
9
- //# sourceMappingURL=GuildTextChannelManager.d.ts.map
@@ -1,9 +0,0 @@
1
- import { GuildChannelCreateOptions, VoiceChannel } from "discord.js";
2
- import { GuildChannelManager } from "./GuildChannelManager";
3
- export declare class GuildVoiceChannelManager extends GuildChannelManager {
4
- static findInGuild(guildId: string, channelId: string): Promise<VoiceChannel | null>;
5
- static find(channelId: string): Promise<VoiceChannel | null>;
6
- static findAll(guildId: string): VoiceChannel[];
7
- static create(guildId: string, name: string, options?: Omit<GuildChannelCreateOptions, 'type'>): Promise<VoiceChannel>;
8
- }
9
- //# sourceMappingURL=GuildVoiceChannelManager.d.ts.map
@@ -1,9 +0,0 @@
1
- import { GuildChannelCreateOptions, NewsChannel } from "discord.js";
2
- import { GuildChannelManager } from "./GuildChannelManager";
3
- export declare class NewsChannelManager extends GuildChannelManager {
4
- static findInGuild(guildId: string, channelId: string): Promise<NewsChannel | null>;
5
- static find(channelId: string): Promise<NewsChannel | null>;
6
- static findAll(guildId: string): NewsChannel[];
7
- static create(guildId: string, name: string, options?: Omit<GuildChannelCreateOptions, 'type'>): Promise<NewsChannel>;
8
- }
9
- //# sourceMappingURL=NewsChannelManager.d.ts.map
@@ -1,9 +0,0 @@
1
- import { GuildChannelCreateOptions, StageChannel } from "discord.js";
2
- import { GuildChannelManager } from "./GuildChannelManager";
3
- export declare class StageChannelManager extends GuildChannelManager {
4
- static findInGuild(guildId: string, channelId: string): Promise<StageChannel | null>;
5
- static find(channelId: string): Promise<StageChannel | null>;
6
- static findAll(guildId: string): StageChannel[];
7
- static create(guildId: string, name: string, options?: Omit<GuildChannelCreateOptions, 'type'>): Promise<StageChannel>;
8
- }
9
- //# sourceMappingURL=StageChannelManager.d.ts.map
@@ -1,13 +0,0 @@
1
- import { Message, MessageCreateOptions, StartThreadOptions, ThreadChannel } from "discord.js";
2
- import { SendableComponent } from "../../builder/SendableComponentBuilder";
3
- export declare class ThreadChannelManager {
4
- static findInGuild(guildId: string, channelId: string): Promise<ThreadChannel | null>;
5
- static find(channelId: string): Promise<ThreadChannel | null>;
6
- static findAll(guildId: string): ThreadChannel[];
7
- static createFromChannel(parentId: string, options: StartThreadOptions): Promise<ThreadChannel>;
8
- static createFromMessage(message: Message, options: StartThreadOptions): Promise<ThreadChannel>;
9
- static send(channelId: string, content: string): Promise<Message>;
10
- static send(channelId: string, component: SendableComponent | SendableComponent[]): Promise<Message>;
11
- static send(channelId: string, options: MessageCreateOptions): Promise<Message>;
12
- }
13
- //# sourceMappingURL=ThreadChannelManager.d.ts.map
@@ -1,32 +0,0 @@
1
- import { GuildMember, Collection, Guild, GuildBan, Channel } from 'discord.js';
2
- import { GuildUserManager } from "./GuildUserManager";
3
- import { RoleManager } from "./RoleManager";
4
- import { GuildChannelList } from "./ChannelManager/GuildChannelList";
5
- import { InviteManager } from "./InviteManager";
6
- export declare class GuildManager {
7
- static readonly role: typeof RoleManager;
8
- static readonly user: typeof GuildUserManager;
9
- static readonly channel: typeof GuildChannelList;
10
- static readonly invite: typeof InviteManager;
11
- static list(): Guild[];
12
- static find(guild_id: string): Promise<Guild>;
13
- /**
14
- * Search channel by ID (TextChannel, DMChannel, ThreadChannel)
15
- */
16
- static searchChannel(guildId: string, channelId: string): Promise<Channel | null>;
17
- /**
18
- * Search guild member by ID
19
- */
20
- static searchMember(memberId: string, guildId: string): Promise<GuildMember | null>;
21
- /**
22
- * Check if member is still in guild
23
- */
24
- static isMemberInGuild(memberId: string, guildId: string): Promise<boolean>;
25
- /**
26
- * Fetch all members with retry (heavy operation)
27
- */
28
- static fetchAllMembers(guildId: string | Guild, MAX_ATTEMPTS?: number, RETRY_DELAY?: number): Promise<Collection<string, GuildMember>>;
29
- static listban(guildId: string, limit?: number): Promise<GuildBan[]>;
30
- static moveMember(memberId: string, fromChannelId: string, toChannelId: string): Promise<boolean>;
31
- }
32
- //# sourceMappingURL=GuildManager.d.ts.map
@@ -1,49 +0,0 @@
1
- import { BasicUserManager } from "../direct/BasicUserManager";
2
- import { BanOptions, Guild, GuildMember } from "discord.js";
3
- export declare class GuildUserManager extends BasicUserManager {
4
- static find(userId: string, guild: Guild | string): Promise<GuildMember | null>;
5
- static rename(member: GuildMember, nickname: string, maxAttempts?: number): Promise<boolean>;
6
- /**
7
- * Check if user is banned from guild
8
- */
9
- static isBanned(guildId: string, userId: string): Promise<boolean>;
10
- /**
11
- * Deconnect a member from a voice
12
- */
13
- static deconnectFromVoice(guildId: string, memberId: string): Promise<void>;
14
- /**
15
- * Check if a member is in voice
16
- */
17
- static isInVoice(memberId: string, guildId: string): Promise<boolean>;
18
- /**
19
- * Mute a member
20
- */
21
- static mute(guildId: string, memberId: string, reason?: string): Promise<void>;
22
- /**
23
- * Unmute a member
24
- */
25
- static unmute(guildId: string, memberId: string, reason?: string): Promise<void>;
26
- /**
27
- * Deafen a member
28
- */
29
- static deafen(guildId: string, memberId: string, reason?: string): Promise<void>;
30
- /**
31
- * Undeafen member voice
32
- */
33
- static undeafen(guildId: string, memberId: string, reason?: string): Promise<void>;
34
- /**
35
- * Timeout a member
36
- */
37
- static timeout(guildId: string, memberId: string, duration: number, reason?: string): Promise<void>;
38
- /**
39
- * Remove the timeout of a member
40
- */
41
- static untimeout(guildId: string, memberId: string, reason?: string): Promise<void>;
42
- /**
43
- * Kick a member
44
- */
45
- static kick(guildId: string, memberId: string, reason?: string): Promise<void>;
46
- static ban(guildId: string, userId: string, banOption?: BanOptions): Promise<void>;
47
- static unban(guildId: string, userId: string, reason?: string): Promise<void>;
48
- }
49
- //# sourceMappingURL=GuildUserManager.d.ts.map
@@ -1,21 +0,0 @@
1
- import { Invite } from 'discord.js';
2
- export declare class InviteManager {
3
- /**
4
- * Create an invite for a channel
5
- */
6
- static create(channelId: string, options?: {
7
- maxAge?: number;
8
- maxUses?: number;
9
- reason?: string;
10
- temporary?: boolean;
11
- }): Promise<Invite>;
12
- /**
13
- * Delete an invitation
14
- */
15
- static delete(invite: Invite): Promise<boolean>;
16
- /**
17
- * List every invitation from a guild
18
- */
19
- static list(guildId: string): Promise<Invite[]>;
20
- }
21
- //# sourceMappingURL=InviteManager.d.ts.map
@@ -1,24 +0,0 @@
1
- import { Invite, Collection } from 'discord.js';
2
- export declare class InviteManager {
3
- /**
4
- * Check if invite is old (more than 1 hour)
5
- */
6
- static isOld(invite: Invite, excludedInvite?: string[]): boolean;
7
- /**
8
- * Delete single invite
9
- */
10
- static delete(invite: Invite): Promise<boolean>;
11
- /**
12
- * Delete all old invites from guild
13
- */
14
- static cleanupGuild(guildId: string): Promise<number>;
15
- /**
16
- * Get all invites from guild
17
- */
18
- static fetchGuildInvites(guildId: string): Promise<Collection<string, Invite>>;
19
- /**
20
- * Get old invites only
21
- */
22
- static getOldInvites(invites: Collection<string, Invite>): Invite[];
23
- }
24
- //# sourceMappingURL=InviteManager_old.d.ts.map
@@ -1,24 +0,0 @@
1
- import { GuildMember, Snowflake } from 'discord.js';
2
- export declare class RoleManager {
3
- /**
4
- * Add role - CACHE ONLY
5
- * @param member - GuildMember ALREADY FETCHED
6
- * @param roleId - Role ID (string)
7
- */
8
- static add(member: GuildMember, roleId: Snowflake): Promise<boolean>;
9
- /**
10
- * Remove role - CACHE ONLY
11
- * @param member - GuildMember ALREADY FETCHED
12
- * @param roleIdOrName - Role ID or name
13
- */
14
- static remove(member: GuildMember, roleIdOrName: Snowflake | string): Promise<boolean>;
15
- /**
16
- * Toggle role (add/remove)
17
- */
18
- static toggle(member: GuildMember, roleIdOrName: Snowflake | string): Promise<'added' | 'removed'>;
19
- /**
20
- * Check if member has role
21
- */
22
- static hasRole(member: GuildMember, roleIdOrName: Snowflake | string): boolean;
23
- }
24
- //# sourceMappingURL=RoleManager.d.ts.map
@@ -1,23 +0,0 @@
1
- import { ModalBuilder } from "discord.js";
2
- export interface ModalJson {
3
- title: string;
4
- customId: string;
5
- label: string;
6
- fields: any[];
7
- }
8
- export declare class ModalManager {
9
- /**
10
- * Load modal from JSON file and return ModalBuilder
11
- */
12
- static load(filename: string): Promise<ModalBuilder | false>;
13
- /**
14
- * List all modal files
15
- */
16
- static list(): Promise<string[] | false>;
17
- private static jsonToBuilder;
18
- private static fieldJsonToInput;
19
- static parseNumber(value: string): number | null;
20
- static parsePhone(value: string): string | null;
21
- static parseDate(value: string): Date | null;
22
- }
23
- //# sourceMappingURL=ModalManager.d.ts.map
@@ -1,58 +0,0 @@
1
- import { ActionRowBuilder, StringSelectMenuBuilder, StringSelectMenuOptionBuilder, UserSelectMenuBuilder, RoleSelectMenuBuilder, MentionableSelectMenuBuilder, ChannelSelectMenuBuilder, MessageActionRowComponentBuilder, ChannelType } from "discord.js";
2
- export type SelectMenuCreateOption = {
3
- label: string;
4
- description?: string;
5
- emoji?: string;
6
- value: string;
7
- };
8
- export declare class SelectMenuManager {
9
- /**
10
- * Creates base StringSelectMenu - SIMPLE API !
11
- */
12
- static create(customId: string, placeholder?: string): StringSelectMenuBuilder;
13
- /**
14
- * Quick StringSelectMenu
15
- */
16
- static simple(customId: string, options: SelectMenuCreateOption[], placeholder?: string): StringSelectMenuBuilder;
17
- /**
18
- * Pagination menu
19
- */
20
- static paginated(customId: string, options: SelectMenuCreateOption[], pageSize?: number): ActionRowBuilder<MessageActionRowComponentBuilder>;
21
- /**
22
- * User Select Menu (Components V2)
23
- */
24
- static users(customId: string, placeholder?: string): UserSelectMenuBuilder;
25
- /**
26
- * Role Select Menu (Components V2)
27
- */
28
- static roles(customId: string, placeholder?: string): RoleSelectMenuBuilder;
29
- /**
30
- * Mentionable Select Menu (Components V2)
31
- */
32
- static mentionables(customId: string, placeholder?: string): MentionableSelectMenuBuilder;
33
- /**
34
- * Channel Select Menu (Components V2)
35
- */
36
- static channels(customId: string, placeholder?: string, channelTypes?: ChannelType[]): ChannelSelectMenuBuilder;
37
- /**
38
- * Quick option creator
39
- */
40
- static option(option: SelectMenuCreateOption): StringSelectMenuOptionBuilder;
41
- static option(options: SelectMenuCreateOption[]): StringSelectMenuOptionBuilder[];
42
- private static _createOption;
43
- /**
44
- * Fluent API pour personnaliser
45
- */
46
- static placeholder(menu: StringSelectMenuBuilder, placeholder: string): StringSelectMenuBuilder;
47
- static minMax(menu: StringSelectMenuBuilder, min: number, max: number): StringSelectMenuBuilder;
48
- static disabled(menu: StringSelectMenuBuilder, disabled: boolean): StringSelectMenuBuilder;
49
- /**
50
- * ActionRow
51
- */
52
- static row<T extends MessageActionRowComponentBuilder>(component: T): ActionRowBuilder<MessageActionRowComponentBuilder>;
53
- /**
54
- * Rows multiples (5 max)
55
- */
56
- static rows(...components: MessageActionRowComponentBuilder[]): ActionRowBuilder<MessageActionRowComponentBuilder>[];
57
- }
58
- //# sourceMappingURL=SelectMenuManager.d.ts.map
@@ -1,97 +0,0 @@
1
- import { EmbedBuilder, InteractionDeferReplyOptions, InteractionEditReplyOptions, InteractionReplyOptions, MessageCreateOptions } from "discord.js";
2
- export declare enum EmbedColor {
3
- error = 8912917,
4
- success = 65280,
5
- black = 0,
6
- white = 16777215,
7
- red = 16711680,
8
- green = 65280,
9
- blue = 255,
10
- yellow = 16776960,
11
- cyan = 65535,
12
- magenta = 16711935,
13
- gray = 8421504,
14
- lightgray = 13882323,
15
- darkgray = 11119017,
16
- orange = 16753920,
17
- purple = 8388736,
18
- pink = 16761035,
19
- brown = 10824234,
20
- lime = 65280,
21
- navy = 128,
22
- teal = 32896,
23
- olive = 8421376,
24
- gold = 16766720,
25
- silver = 12632256,
26
- coral = 16744272,
27
- salmon = 16416882,
28
- khaki = 15787660,
29
- plum = 14524637,
30
- lavender = 15132410,
31
- beige = 16119260,
32
- mint = 10026904,
33
- peach = 16767673,
34
- chocolate = 13789470,
35
- crimson = 14423100,
36
- youtube = 16718362,
37
- default = 6064856,
38
- minecraft = 25600
39
- }
40
- export declare class EmbedManager {
41
- private static get BOT_ICON();
42
- private static get DEFAULT_COLOR();
43
- /**
44
- * Creates base embed - SAME SIMPLE API !
45
- */
46
- static create(color?: EmbedColor | null): EmbedBuilder;
47
- /**
48
- * Creates simple embed with just description
49
- */
50
- static simple(description: string, color?: EmbedColor | null): EmbedBuilder;
51
- /**
52
- * Creates error embed
53
- */
54
- static error(description: string): EmbedBuilder;
55
- /**
56
- * Creates success embed
57
- */
58
- static success(description: string): EmbedBuilder;
59
- /**
60
- * Creates success embed
61
- */
62
- static description(description: string): EmbedBuilder;
63
- /**
64
- * Creates debug embed
65
- */
66
- static debug(description: string): EmbedBuilder;
67
- /**
68
- * Defer ephemeral reply
69
- */
70
- static deferEphemeral(): InteractionDeferReplyOptions;
71
- /**
72
- * Quick field adder
73
- */
74
- static field(embed: EmbedBuilder, name: string, value: string, inline?: boolean): EmbedBuilder;
75
- static fields(embed: EmbedBuilder, fields: {
76
- name: string;
77
- value: string;
78
- inline?: boolean;
79
- }[]): EmbedBuilder;
80
- /**
81
- * Fluent API shortcuts
82
- */
83
- static title(embed: EmbedBuilder, title: string): EmbedBuilder;
84
- static desc(embed: EmbedBuilder, description: string): EmbedBuilder;
85
- static thumb(embed: EmbedBuilder, url: string): EmbedBuilder;
86
- static image(embed: EmbedBuilder, url: string): EmbedBuilder;
87
- static footer(embed: EmbedBuilder, text: string): EmbedBuilder;
88
- /**
89
- * Transform embed into objet for interaction.reply()
90
- */
91
- static toInteraction(embed: EmbedBuilder, ephemeral?: boolean): InteractionReplyOptions | InteractionEditReplyOptions;
92
- /**
93
- * Transform embed into objet to send a message
94
- */
95
- static toMessage(embed: EmbedBuilder): MessageCreateOptions;
96
- }
97
- //# sourceMappingURL=EmbedManager.d.ts.map
@@ -1,26 +0,0 @@
1
- import { User, EmojiResolvable } from 'discord.js';
2
- export declare class ReactionManager {
3
- /**
4
- * Add a reaction to a message
5
- */
6
- static add(channelId: string, messageId: string, emoji: string | EmojiResolvable): Promise<void>;
7
- /**
8
- * Delete a reaction from a user
9
- */
10
- static remove(channelId: string, messageId: string, emoji: string, userId: string): Promise<void>;
11
- /**
12
- * Get all reaction of a message
13
- */
14
- static getAll(channelId: string, messageId: string): Promise<Reaction[]>;
15
- /**
16
- * Delete all reaction
17
- */
18
- static clear(channelId: string, messageId: string): Promise<void>;
19
- }
20
- interface Reaction {
21
- emoji: any;
22
- count: number;
23
- users: User[];
24
- }
25
- export {};
26
- //# sourceMappingURL=ReactionManager.d.ts.map
@@ -1,33 +0,0 @@
1
- import { TextChannel, Message, ThreadChannel, WebhookMessageCreateOptions } from 'discord.js';
2
- import { SendableComponent } from "../builder/SendableComponentBuilder";
3
- export declare class WebhookManager {
4
- private readonly channel;
5
- private readonly name;
6
- private readonly avatarURL?;
7
- private webhook;
8
- constructor(channel: TextChannel | ThreadChannel, name?: string, avatarURL?: string | undefined);
9
- private get textChannel();
10
- /**
11
- * Get or create webhook (lazy initialization)
12
- */
13
- private getWebhook;
14
- /**
15
- * Send message/text/component !
16
- */
17
- send(content: string): Promise<Message | null>;
18
- send(content: SendableComponent): Promise<Message | null>;
19
- send(content: WebhookMessageCreateOptions): Promise<Message | null>;
20
- /**
21
- * Quick success embed
22
- */
23
- success(message: string): Promise<Message | null>;
24
- /**
25
- * Quick error embed
26
- */
27
- error(message: string): Promise<Message | null>;
28
- /**
29
- * Delete webhook
30
- */
31
- delete(reason?: string): Promise<void>;
32
- }
33
- //# sourceMappingURL=WebhookManager.d.ts.map
@@ -1,3 +0,0 @@
1
- import { Client } from 'discord.js';
2
- export declare const client: Client<boolean>;
3
- //# sourceMappingURL=client.d.ts.map
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=index.d.ts.map
@@ -1,3 +0,0 @@
1
- import { RandomBotActivity } from "../index";
2
- export declare const randomActivityList: RandomBotActivity;
3
- //# sourceMappingURL=randomActivityList.d.ts.map
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=FolderName.d.ts.map
@@ -1,66 +0,0 @@
1
- /**
2
- * Classe utilitaire pour valider tous les formats Discord avec regex
3
- */
4
- export declare class DiscordRegex {
5
- static readonly SPACE = "\u200B";
6
- static readonly URL_REGEX: RegExp;
7
- static readonly USER_REGEX: RegExp;
8
- static readonly BOT_REGEX: RegExp;
9
- static readonly CHANNEL_REGEX: RegExp;
10
- static readonly ROLE_REGEX: RegExp;
11
- /**
12
- * Mention a User
13
- * Mention a Role
14
- */
15
- static readonly DISCORD_PING_REGEX: RegExp;
16
- /**
17
- * Mention a User
18
- * Mention a Role
19
- * Mention a Channel
20
- */
21
- static readonly DISCORD_MENTION_REGEX: RegExp;
22
- static readonly USER_ID: RegExp;
23
- static readonly CHANNEL_ID: RegExp;
24
- static readonly GUILD_ID: RegExp;
25
- static readonly BOT_ID: RegExp;
26
- static readonly USERNAME: RegExp;
27
- static readonly USERNAME_DISCRIM: RegExp;
28
- static readonly CHANNEL_MENTION: RegExp;
29
- static readonly USER_MENTION: RegExp;
30
- static readonly ROLE_MENTION: RegExp;
31
- static readonly INVITE: RegExp;
32
- static readonly EMOJI: RegExp;
33
- /**
34
- * Validate Discord ID Discord (18)
35
- */
36
- static isDiscordId(id: string): boolean;
37
- /**
38
- * Validate a bot ID (19)
39
- */
40
- static isBotMention(mention: string): boolean;
41
- /**
42
- * Validate a User ping
43
- */
44
- static isUserMention(mention: string): boolean;
45
- /**
46
- * Validate a Discord username
47
- */
48
- static isUsername(username: string): boolean;
49
- /**
50
- * Type guard for Discord ID
51
- */
52
- static isDiscordIdType(id: string): id is string;
53
- /**
54
- * Any Discord URL
55
- */
56
- static isDiscordUrl(url: string): boolean;
57
- /**
58
- * Any discord mention
59
- */
60
- static isAnyMention(text: string): boolean;
61
- /**
62
- * List all regex
63
- */
64
- static listAll(): Record<string, RegExp | string>;
65
- }
66
- //# sourceMappingURL=DiscordRegex.d.ts.map
@@ -1,9 +0,0 @@
1
- export declare class Log {
2
- private static getPrefix;
3
- static info(message: string): void;
4
- static warn(message: string): void;
5
- static error(message: string): void;
6
- static debug(message: string): void;
7
- static table(data: Record<string, any>[]): void;
8
- }
9
- //# sourceMappingURL=Log.d.ts.map
@@ -1,16 +0,0 @@
1
- export declare class SimpleMutex {
2
- private _locked;
3
- private queue;
4
- constructor();
5
- /**
6
- * Verrouille le mutex. Si le mutex est déjà verrouillé, la méthode retourne une promesse qui sera résolue une fois que le mutex sera disponible.
7
- * @returns Une promesse résolue lorsque le mutex est verrouillé.
8
- */
9
- lock(): Promise<void>;
10
- /**
11
- * Déverrouille le mutex. Si une file d'attente existe, débloque le prochain élément dans la file.
12
- */
13
- unlock(): void;
14
- get locked(): boolean;
15
- }
16
- //# sourceMappingURL=SimpleMutex.d.ts.map
@@ -1,10 +0,0 @@
1
- export declare class InternetChecker {
2
- private static readonly TARGET;
3
- private static readonly RETRY_TIME;
4
- /**
5
- * Check internet connection towards 1.1.1.1 (Cloudflare DNS)
6
- * @param tries Number of attempts (0 = infini)
7
- */
8
- static checkConnection(tries?: number): Promise<boolean>;
9
- }
10
- //# sourceMappingURL=InternetChecker.d.ts.map
@@ -1,187 +0,0 @@
1
- declare class UnitTime {
2
- private readonly val;
3
- constructor(val: number);
4
- toMilliseconds(): number;
5
- toSeconds(): number;
6
- toMinutes(): number;
7
- toHours(): number;
8
- toDays(): number;
9
- toString(): string;
10
- valueOf(): number;
11
- value(): number;
12
- }
13
- export declare const Time: {
14
- milisecond: {
15
- MS_100: UnitTime;
16
- MS_200: UnitTime;
17
- MS_500: UnitTime;
18
- MS_800: UnitTime;
19
- MS_1000: UnitTime;
20
- };
21
- second: {
22
- SEC_01: UnitTime;
23
- SEC_02: UnitTime;
24
- SEC_03: UnitTime;
25
- SEC_04: UnitTime;
26
- SEC_05: UnitTime;
27
- SEC_06: UnitTime;
28
- SEC_07: UnitTime;
29
- SEC_08: UnitTime;
30
- SEC_09: UnitTime;
31
- SEC_10: UnitTime;
32
- SEC_11: UnitTime;
33
- SEC_12: UnitTime;
34
- SEC_13: UnitTime;
35
- SEC_14: UnitTime;
36
- SEC_15: UnitTime;
37
- SEC_16: UnitTime;
38
- SEC_17: UnitTime;
39
- SEC_18: UnitTime;
40
- SEC_19: UnitTime;
41
- SEC_20: UnitTime;
42
- SEC_21: UnitTime;
43
- SEC_22: UnitTime;
44
- SEC_23: UnitTime;
45
- SEC_24: UnitTime;
46
- SEC_25: UnitTime;
47
- SEC_26: UnitTime;
48
- SEC_27: UnitTime;
49
- SEC_28: UnitTime;
50
- SEC_29: UnitTime;
51
- SEC_30: UnitTime;
52
- SEC_31: UnitTime;
53
- SEC_32: UnitTime;
54
- SEC_33: UnitTime;
55
- SEC_34: UnitTime;
56
- SEC_35: UnitTime;
57
- SEC_36: UnitTime;
58
- SEC_37: UnitTime;
59
- SEC_38: UnitTime;
60
- SEC_39: UnitTime;
61
- SEC_40: UnitTime;
62
- SEC_41: UnitTime;
63
- SEC_42: UnitTime;
64
- SEC_43: UnitTime;
65
- SEC_44: UnitTime;
66
- SEC_45: UnitTime;
67
- SEC_46: UnitTime;
68
- SEC_47: UnitTime;
69
- SEC_48: UnitTime;
70
- SEC_49: UnitTime;
71
- SEC_50: UnitTime;
72
- SEC_51: UnitTime;
73
- SEC_52: UnitTime;
74
- SEC_53: UnitTime;
75
- SEC_54: UnitTime;
76
- SEC_55: UnitTime;
77
- SEC_56: UnitTime;
78
- SEC_57: UnitTime;
79
- SEC_58: UnitTime;
80
- SEC_59: UnitTime;
81
- SEC_60: UnitTime;
82
- };
83
- minute: {
84
- MIN_01: UnitTime;
85
- MIN_02: UnitTime;
86
- MIN_03: UnitTime;
87
- MIN_04: UnitTime;
88
- MIN_05: UnitTime;
89
- MIN_06: UnitTime;
90
- MIN_07: UnitTime;
91
- MIN_08: UnitTime;
92
- MIN_09: UnitTime;
93
- MIN_10: UnitTime;
94
- MIN_11: UnitTime;
95
- MIN_12: UnitTime;
96
- MIN_13: UnitTime;
97
- MIN_14: UnitTime;
98
- MIN_15: UnitTime;
99
- MIN_16: UnitTime;
100
- MIN_17: UnitTime;
101
- MIN_18: UnitTime;
102
- MIN_19: UnitTime;
103
- MIN_20: UnitTime;
104
- MIN_21: UnitTime;
105
- MIN_22: UnitTime;
106
- MIN_23: UnitTime;
107
- MIN_24: UnitTime;
108
- MIN_25: UnitTime;
109
- MIN_26: UnitTime;
110
- MIN_27: UnitTime;
111
- MIN_28: UnitTime;
112
- MIN_29: UnitTime;
113
- MIN_30: UnitTime;
114
- MIN_31: UnitTime;
115
- MIN_32: UnitTime;
116
- MIN_33: UnitTime;
117
- MIN_34: UnitTime;
118
- MIN_35: UnitTime;
119
- MIN_36: UnitTime;
120
- MIN_37: UnitTime;
121
- MIN_38: UnitTime;
122
- MIN_39: UnitTime;
123
- MIN_40: UnitTime;
124
- MIN_41: UnitTime;
125
- MIN_42: UnitTime;
126
- MIN_43: UnitTime;
127
- MIN_44: UnitTime;
128
- MIN_45: UnitTime;
129
- MIN_46: UnitTime;
130
- MIN_47: UnitTime;
131
- MIN_48: UnitTime;
132
- MIN_49: UnitTime;
133
- MIN_50: UnitTime;
134
- MIN_51: UnitTime;
135
- MIN_52: UnitTime;
136
- MIN_53: UnitTime;
137
- MIN_54: UnitTime;
138
- MIN_55: UnitTime;
139
- MIN_56: UnitTime;
140
- MIN_57: UnitTime;
141
- MIN_58: UnitTime;
142
- MIN_59: UnitTime;
143
- MIN_60: UnitTime;
144
- };
145
- hour: {
146
- HOUR_01: UnitTime;
147
- HOUR_02: UnitTime;
148
- HOUR_03: UnitTime;
149
- HOUR_04: UnitTime;
150
- HOUR_05: UnitTime;
151
- HOUR_06: UnitTime;
152
- HOUR_07: UnitTime;
153
- HOUR_08: UnitTime;
154
- HOUR_09: UnitTime;
155
- HOUR_10: UnitTime;
156
- HOUR_11: UnitTime;
157
- HOUR_12: UnitTime;
158
- HOUR_13: UnitTime;
159
- HOUR_14: UnitTime;
160
- HOUR_15: UnitTime;
161
- HOUR_16: UnitTime;
162
- HOUR_17: UnitTime;
163
- HOUR_18: UnitTime;
164
- HOUR_19: UnitTime;
165
- HOUR_20: UnitTime;
166
- HOUR_21: UnitTime;
167
- HOUR_22: UnitTime;
168
- HOUR_23: UnitTime;
169
- HOUR_24: UnitTime;
170
- };
171
- day: {
172
- DAY_01: UnitTime;
173
- DAY_02: UnitTime;
174
- DAY_03: UnitTime;
175
- DAY_04: UnitTime;
176
- DAY_05: UnitTime;
177
- DAY_06: UnitTime;
178
- DAY_07: UnitTime;
179
- DAY_08: UnitTime;
180
- DAY_09: UnitTime;
181
- DAY_10: UnitTime;
182
- };
183
- readonly DAY: boolean;
184
- readonly NIGHT: boolean;
185
- };
186
- export {};
187
- //# sourceMappingURL=UnitTime.d.ts.map