@vencord/types 0.1.1 → 0.1.2

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 (86) hide show
  1. package/api/index.d.ts +5 -0
  2. package/api/settings.d.ts +1 -1
  3. package/components/ErrorBoundary.d.ts +1 -1
  4. package/components/PluginSettings/PluginModal.d.ts +2 -2
  5. package/components/PluginSettings/components/SettingBooleanComponent.d.ts +1 -1
  6. package/components/PluginSettings/components/SettingCustomComponent.d.ts +1 -1
  7. package/components/PluginSettings/components/SettingNumericComponent.d.ts +1 -1
  8. package/components/PluginSettings/components/SettingSelectComponent.d.ts +1 -1
  9. package/components/PluginSettings/components/SettingSliderComponent.d.ts +1 -1
  10. package/components/PluginSettings/components/SettingTextComponent.d.ts +1 -1
  11. package/components/PluginSettings/components/index.d.ts +1 -1
  12. package/globals.d.ts +0 -48
  13. package/package.json +1 -1
  14. package/plugins/anonymiseFileNames.d.ts +1 -1
  15. package/plugins/apiBadges.d.ts +1 -1
  16. package/plugins/banger.d.ts +1 -1
  17. package/plugins/betterFolders/index.d.ts +2 -2
  18. package/plugins/betterNotes.d.ts +1 -1
  19. package/plugins/betterRoleDot.d.ts +1 -1
  20. package/plugins/blurNsfw.d.ts +1 -1
  21. package/plugins/callTimer.d.ts +1 -1
  22. package/plugins/clearURLs/index.d.ts +1 -1
  23. package/plugins/consoleShortcuts.d.ts +4 -4
  24. package/plugins/crashHandler.d.ts +2 -2
  25. package/plugins/customRPC.d.ts +2 -2
  26. package/plugins/devCompanion.dev.d.ts +2 -2
  27. package/plugins/experiments.d.ts +2 -2
  28. package/plugins/fakeNitro.d.ts +2 -2
  29. package/plugins/fakeProfileThemes.d.ts +2 -2
  30. package/plugins/fart.d.ts +3 -3
  31. package/plugins/friendInvites.d.ts +3 -3
  32. package/plugins/fxTwitter.d.ts +1 -1
  33. package/plugins/imageZoom/index.d.ts +4 -4
  34. package/plugins/index.d.ts +2 -2
  35. package/plugins/invisibleChat/index.d.ts +2 -2
  36. package/plugins/lastfm.d.ts +2 -2
  37. package/plugins/messageClickActions.d.ts +1 -1
  38. package/plugins/messageLinkEmbeds.d.ts +2 -2
  39. package/plugins/messageLogger/index.d.ts +1 -1
  40. package/plugins/messageTags.d.ts +3 -3
  41. package/plugins/moreCommands.d.ts +5 -5
  42. package/plugins/moreKaomoji.d.ts +2 -2
  43. package/plugins/moreUserTags.d.ts +2 -2
  44. package/plugins/moyai.d.ts +2 -2
  45. package/plugins/noBlockedMessages.d.ts +1 -1
  46. package/plugins/noCanaryMessageLinks.d.ts +2 -2
  47. package/plugins/noReplyMention.d.ts +2 -2
  48. package/plugins/petpet.d.ts +1 -1
  49. package/plugins/pinDms/index.d.ts +2 -2
  50. package/plugins/pinDms/settings.d.ts +2 -2
  51. package/plugins/platformIndicators.d.ts +1 -1
  52. package/plugins/pronoundb/index.d.ts +1 -1
  53. package/plugins/quickReply.d.ts +2 -2
  54. package/plugins/relationshipNotifier/events.d.ts +1 -1
  55. package/plugins/relationshipNotifier/index.d.ts +7 -7
  56. package/plugins/relationshipNotifier/settings.d.ts +2 -2
  57. package/plugins/reviewDB/index.d.ts +1 -1
  58. package/plugins/roleColorEverywhere.d.ts +2 -2
  59. package/plugins/serverListIndicators.d.ts +1 -1
  60. package/plugins/settings.d.ts +1 -1
  61. package/plugins/shikiCodeblocks/index.d.ts +6 -6
  62. package/plugins/shikiCodeblocks/settings.d.ts +2 -2
  63. package/plugins/showHiddenChannels/index.d.ts +2 -2
  64. package/plugins/showMeYourName/index.d.ts +2 -2
  65. package/plugins/silentMessageToggle.d.ts +2 -2
  66. package/plugins/silentTyping.d.ts +4 -4
  67. package/plugins/sortFriendRequests.d.ts +1 -1
  68. package/plugins/spotifyControls/index.d.ts +1 -1
  69. package/plugins/spotifyCrack.d.ts +2 -2
  70. package/plugins/spotifyShareCommands.d.ts +2 -2
  71. package/plugins/typingIndicator.d.ts +2 -2
  72. package/plugins/typingTweaks.d.ts +2 -2
  73. package/plugins/unindent.d.ts +1 -1
  74. package/plugins/urbanDictionary.d.ts +3 -3
  75. package/plugins/userVoiceShow/index.d.ts +2 -2
  76. package/plugins/usrbg/index.d.ts +2 -2
  77. package/plugins/uwuify.d.ts +2 -2
  78. package/plugins/vcNarrator.d.ts +1 -1
  79. package/plugins/viewIcons.d.ts +2 -2
  80. package/plugins/volumeBooster.discordDesktop.d.ts +2 -2
  81. package/plugins/webContextMenus.web.d.ts +2 -2
  82. package/plugins/welcomeStickerPicker.d.ts +2 -2
  83. package/plugins/wikisearch.d.ts +2 -2
  84. package/utils/index.d.ts +4 -2
  85. package/utils/react.d.ts +1 -1
  86. package/utils/types.d.ts +1 -1
package/api/index.d.ts CHANGED
@@ -10,6 +10,7 @@ import * as $MessagePopover from "./MessagePopover";
10
10
  import * as $Notices from "./Notices";
11
11
  import * as $Notifications from "./Notifications";
12
12
  import * as $ServerList from "./ServerList";
13
+ import * as $Settings from "./settings";
13
14
  import * as $SettingsStore from "./SettingsStore";
14
15
  import * as $Styles from "./Styles";
15
16
  /**
@@ -84,3 +85,7 @@ export declare const Notifications: typeof $Notifications;
84
85
  * An api allowing you to patch and add/remove items to/from context menus
85
86
  */
86
87
  export declare const ContextMenu: typeof $ContextMenu;
88
+ /**
89
+ * Settings lol
90
+ */
91
+ export declare const Settings: typeof $Settings;
package/api/settings.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { DefinedSettings, SettingsChecks, SettingsDefinition } from "@utils/types";
1
+ import { DefinedSettings, SettingsChecks, SettingsDefinition } from "../utils/types";
2
2
  export interface Settings {
3
3
  notifyAboutUpdates: boolean;
4
4
  autoUpdate: boolean;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import { React } from "@webpack/common";
2
+ import { React } from "../webpack/common";
3
3
  interface Props<T = any> {
4
4
  /** Render nothing if an error occurs */
5
5
  noop?: boolean;
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
- import { ModalProps } from "@utils/modal";
3
- import { Plugin } from "@utils/types";
2
+ import { ModalProps } from "../../utils/modal";
3
+ import { Plugin } from "../../utils/types";
4
4
  interface PluginModalProps extends ModalProps {
5
5
  plugin: Plugin;
6
6
  onRestartNeeded(): void;
@@ -1,4 +1,4 @@
1
1
  /// <reference types="react" />
2
- import { PluginOptionBoolean } from "@utils/types";
2
+ import { PluginOptionBoolean } from "../../../utils/types";
3
3
  import { ISettingElementProps } from ".";
4
4
  export declare function SettingBooleanComponent({ option, pluginSettings, definedSettings, id, onChange, onError }: ISettingElementProps<PluginOptionBoolean>): JSX.Element;
@@ -1,4 +1,4 @@
1
1
  /// <reference types="react" />
2
- import { PluginOptionComponent } from "@utils/types";
2
+ import { PluginOptionComponent } from "../../../utils/types";
3
3
  import { ISettingElementProps } from ".";
4
4
  export declare function SettingCustomComponent({ option, onChange, onError }: ISettingElementProps<PluginOptionComponent>): JSX.Element;
@@ -1,4 +1,4 @@
1
1
  /// <reference types="react" />
2
- import { PluginOptionNumber } from "@utils/types";
2
+ import { PluginOptionNumber } from "../../../utils/types";
3
3
  import { ISettingElementProps } from ".";
4
4
  export declare function SettingNumericComponent({ option, pluginSettings, definedSettings, id, onChange, onError }: ISettingElementProps<PluginOptionNumber>): JSX.Element;
@@ -1,4 +1,4 @@
1
1
  /// <reference types="react" />
2
- import { PluginOptionSelect } from "@utils/types";
2
+ import { PluginOptionSelect } from "../../../utils/types";
3
3
  import { ISettingElementProps } from ".";
4
4
  export declare function SettingSelectComponent({ option, pluginSettings, definedSettings, onChange, onError, id }: ISettingElementProps<PluginOptionSelect>): JSX.Element;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import { PluginOptionSlider } from "@utils/types";
2
+ import { PluginOptionSlider } from "../../../utils/types";
3
3
  import { ISettingElementProps } from ".";
4
4
  export declare function makeRange(start: number, end: number, step?: number): number[];
5
5
  export declare function SettingSliderComponent({ option, pluginSettings, definedSettings, id, onChange, onError }: ISettingElementProps<PluginOptionSlider>): JSX.Element;
@@ -1,4 +1,4 @@
1
1
  /// <reference types="react" />
2
- import { PluginOptionString } from "@utils/types";
2
+ import { PluginOptionString } from "../../../utils/types";
3
3
  import { ISettingElementProps } from ".";
4
4
  export declare function SettingTextComponent({ option, pluginSettings, definedSettings, id, onChange, onError }: ISettingElementProps<PluginOptionString>): JSX.Element;
@@ -1,4 +1,4 @@
1
- import { DefinedSettings, PluginOptionBase } from "@utils/types";
1
+ import { DefinedSettings, PluginOptionBase } from "../../../utils/types";
2
2
  export interface ISettingElementProps<T extends PluginOptionBase> {
3
3
  option: T;
4
4
  onChange(newValue: any): void;
package/globals.d.ts CHANGED
@@ -16,57 +16,9 @@
16
16
  * along with this program. If not, see <https://www.gnu.org/licenses/>.
17
17
  */
18
18
 
19
- import { LoDashStatic } from "lodash";
20
-
21
19
  declare global {
22
- /**
23
- * This exists only at build time, so references to it in patches should insert it
24
- * via String interpolation OR use different replacement code based on this
25
- * but NEVER reference it inside the patched code
26
- *
27
- * @example
28
- * // BAD
29
- * replace: "IS_WEB?foo:bar"
30
- * // GOOD
31
- * replace: IS_WEB ? "foo" : "bar"
32
- * // also good
33
- * replace: `${IS_WEB}?foo:bar`
34
- */
35
- export var IS_WEB: boolean;
36
- export var IS_DEV: boolean;
37
- export var IS_STANDALONE: boolean;
38
- export var IS_DISCORD_DESKTOP: boolean;
39
- export var IS_VENCORD_DESKTOP: boolean;
40
-
41
20
  export var VencordNative: typeof import("./VencordNative").default;
42
21
  export var Vencord: typeof import("./Vencord");
43
- export var VencordStyles: Map<string, {
44
- name: string;
45
- source: string;
46
- classNames: Record<string, string>;
47
- dom: HTMLStyleElement | null;
48
- }>;
49
- export var appSettings: {
50
- set(setting: string, v: any): void;
51
- };
52
- /**
53
- * Only available when running in Electron, undefined on web.
54
- * Thus, avoid using this or only use it inside an {@link IS_WEB} guard.
55
- *
56
- * If you really must use it, mark your plugin as Desktop App only by naming it Foo.desktop.ts(x)
57
- */
58
- export var DiscordNative: any;
59
- export var VencordDesktop: any;
60
- export var VencordDesktopNative: any;
61
-
62
- interface Window {
63
- webpackChunkdiscord_app: {
64
- push(chunk: any): any;
65
- pop(): any;
66
- };
67
- _: LoDashStatic;
68
- [k: string]: any;
69
- }
70
22
  }
71
23
 
72
24
  export { };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@vencord/types",
3
3
  "private": false,
4
- "version": "0.1.1",
4
+ "version": "0.1.2",
5
5
  "description": "",
6
6
  "types": "index.d.ts",
7
7
  "scripts": {
@@ -1,4 +1,4 @@
1
- import { OptionType } from "@utils/types";
1
+ import { OptionType } from "../utils/types";
2
2
  declare enum Methods {
3
3
  Random = 0,
4
4
  Consistent = 1,
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import { BadgePosition, BadgeUserArgs, ProfileBadge } from "@api/Badges";
2
+ import { BadgePosition, BadgeUserArgs, ProfileBadge } from "../api/Badges";
3
3
  declare const _default: {
4
4
  name: string;
5
5
  description: string;
@@ -1,4 +1,4 @@
1
- import { OptionType } from "@utils/types";
1
+ import { OptionType } from "../utils/types";
2
2
  declare const _default: {
3
3
  name: string;
4
4
  description: string;
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import "./betterFolders.css";
3
- import { OptionType } from "@utils/types";
3
+ import { OptionType } from "../../utils/types";
4
4
  declare const _default: {
5
5
  name: string;
6
6
  description: string;
@@ -30,7 +30,7 @@ declare const _default: {
30
30
  replace: string;
31
31
  };
32
32
  })[];
33
- settings: import("@utils/types").DefinedSettings<{
33
+ settings: import("../../utils/types").DefinedSettings<{
34
34
  sidebar: {
35
35
  type: OptionType.BOOLEAN;
36
36
  description: string;
@@ -1,4 +1,4 @@
1
- import { OptionType } from "@utils/types";
1
+ import { OptionType } from "../utils/types";
2
2
  declare const _default: {
3
3
  name: string;
4
4
  description: string;
@@ -1,4 +1,4 @@
1
- import { OptionType } from "@utils/types";
1
+ import { OptionType } from "../utils/types";
2
2
  declare const _default: {
3
3
  name: string;
4
4
  authors: {
@@ -1,4 +1,4 @@
1
- import { OptionType } from "@utils/types";
1
+ import { OptionType } from "../utils/types";
2
2
  declare function setCss(): void;
3
3
  declare const _default: {
4
4
  name: string;
@@ -1,6 +1,6 @@
1
1
  /// <reference types="node" />
2
2
  /// <reference types="react" />
3
- import { OptionType } from "@utils/types";
3
+ import { OptionType } from "../utils/types";
4
4
  declare const _default: {
5
5
  name: string;
6
6
  description: string;
@@ -1,4 +1,4 @@
1
- import { MessageObject } from "@api/MessageEvents";
1
+ import { MessageObject } from "../../api/MessageEvents";
2
2
  declare const _default: {
3
3
  name: string;
4
4
  description: string;
@@ -1,6 +1,6 @@
1
- import { relaunch } from "@utils/native";
2
- import { canonicalizeMatch, canonicalizeReplace, canonicalizeReplacement } from "@utils/patches";
3
- import * as Webpack from "@webpack";
1
+ import { relaunch } from "../utils/native";
2
+ import { canonicalizeMatch, canonicalizeReplace, canonicalizeReplacement } from "../utils/patches";
3
+ import * as Webpack from "../webpack/webpack";
4
4
  import type { ComponentType } from "react";
5
5
  declare const _default: {
6
6
  name: string;
@@ -30,7 +30,7 @@ declare const _default: {
30
30
  findAllByCode: (code: string) => any[];
31
31
  findStore: (...filterProps: unknown[]) => any;
32
32
  PluginsApi: typeof import(".");
33
- plugins: Record<string, import("@utils/types").Plugin>;
33
+ plugins: Record<string, import("../utils/types").Plugin>;
34
34
  React: typeof import("react");
35
35
  Settings: import("../Vencord").Settings;
36
36
  Api: typeof import("../api");
@@ -1,4 +1,4 @@
1
- import { OptionType } from "@utils/types";
1
+ import { OptionType } from "../utils/types";
2
2
  import type { ReactElement } from "react";
3
3
  declare const _default: {
4
4
  name: string;
@@ -9,7 +9,7 @@ declare const _default: {
9
9
  }[];
10
10
  enabledByDefault: true;
11
11
  popAllModals: (() => void) | undefined;
12
- settings: import("@utils/types").DefinedSettings<{
12
+ settings: import("../utils/types").DefinedSettings<{
13
13
  attemptToPreventCrashes: {
14
14
  type: OptionType.BOOLEAN;
15
15
  description: string;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import { OptionType } from "@utils/types";
2
+ import { OptionType } from "../utils/types";
3
3
  declare function setRpc(disable?: boolean): Promise<void>;
4
4
  declare const _default_1: {
5
5
  name: string;
@@ -10,7 +10,7 @@ declare const _default_1: {
10
10
  }[];
11
11
  start: typeof setRpc;
12
12
  stop: () => Promise<void>;
13
- settings: import("@utils/types").DefinedSettings<{
13
+ settings: import("../utils/types").DefinedSettings<{
14
14
  appID: {
15
15
  readonly type: OptionType.STRING;
16
16
  readonly description: string;
@@ -1,4 +1,4 @@
1
- import { OptionType } from "@utils/types";
1
+ import { OptionType } from "../utils/types";
2
2
  declare const _default: {
3
3
  name: string;
4
4
  description: string;
@@ -6,7 +6,7 @@ declare const _default: {
6
6
  name: string;
7
7
  id: bigint;
8
8
  }[];
9
- settings: import("@utils/types").DefinedSettings<{
9
+ settings: import("../utils/types").DefinedSettings<{
10
10
  notifyOnAutoConnect: {
11
11
  description: string;
12
12
  type: OptionType.BOOLEAN;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import { OptionType } from "@utils/types";
2
+ import { OptionType } from "../utils/types";
3
3
  declare const _default: {
4
4
  name: string;
5
5
  description: string;
@@ -7,7 +7,7 @@ declare const _default: {
7
7
  name: string;
8
8
  id: bigint;
9
9
  }[];
10
- settings: import("@utils/types").DefinedSettings<{
10
+ settings: import("../utils/types").DefinedSettings<{
11
11
  enableIsStaff: {
12
12
  description: string;
13
13
  type: OptionType.BOOLEAN;
@@ -1,4 +1,4 @@
1
- import { OptionType } from "@utils/types";
1
+ import { OptionType } from "../utils/types";
2
2
  import type { Message } from "discord-types/general";
3
3
  import type { ReactNode } from "react";
4
4
  declare const _default: {
@@ -9,7 +9,7 @@ declare const _default: {
9
9
  }[];
10
10
  description: string;
11
11
  dependencies: string[];
12
- settings: import("@utils/types").DefinedSettings<{
12
+ settings: import("../utils/types").DefinedSettings<{
13
13
  enableEmojiBypass: {
14
14
  description: string;
15
15
  type: OptionType.BOOLEAN;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import { OptionType } from "@utils/types";
2
+ import { OptionType } from "../utils/types";
3
3
  import { User } from "discord-types/general";
4
4
  interface UserProfile extends User {
5
5
  themeColors?: Array<number>;
@@ -23,7 +23,7 @@ declare const _default: {
23
23
  };
24
24
  }[];
25
25
  settingsAboutComponent: () => JSX.Element;
26
- settings: import("@utils/types").DefinedSettings<{
26
+ settings: import("../utils/types").DefinedSettings<{
27
27
  nitroFirst: {
28
28
  description: string;
29
29
  type: OptionType.SELECT;
package/plugins/fart.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { ApplicationCommandOptionType } from "@api/Commands";
2
- import { OptionType } from "@utils/types";
1
+ import { ApplicationCommandOptionType } from "../api/Commands";
2
+ import { OptionType } from "../utils/types";
3
3
  declare const _default: {
4
4
  name: string;
5
5
  authors: {
@@ -17,7 +17,7 @@ declare const _default: {
17
17
  description: string;
18
18
  required: false;
19
19
  }[];
20
- execute(args: import("@api/Commands").Argument[]): {
20
+ execute(args: import("../api/Commands").Argument[]): {
21
21
  content: string;
22
22
  };
23
23
  }[];
@@ -1,4 +1,4 @@
1
- import { ApplicationCommandInputType } from "@api/Commands";
1
+ import { ApplicationCommandInputType } from "../api/Commands";
2
2
  declare const _default: {
3
3
  name: string;
4
4
  description: string;
@@ -11,12 +11,12 @@ declare const _default: {
11
11
  name: string;
12
12
  description: string;
13
13
  inputType: ApplicationCommandInputType.BOT;
14
- execute: (_: import("@api/Commands").Argument[], ctx: import("@api/Commands").CommandContext) => Promise<import("discord-types/general").Message | undefined>;
14
+ execute: (_: import("../api/Commands").Argument[], ctx: import("../api/Commands").CommandContext) => Promise<import("discord-types/general").Message | undefined>;
15
15
  } | {
16
16
  name: string;
17
17
  description: string;
18
18
  inputType: ApplicationCommandInputType.BOT;
19
- execute: (_: import("@api/Commands").Argument[], ctx: import("@api/Commands").CommandContext) => Promise<void>;
19
+ execute: (_: import("../api/Commands").Argument[], ctx: import("../api/Commands").CommandContext) => Promise<void>;
20
20
  })[];
21
21
  } & Record<string, any>;
22
22
  export default _default;
@@ -1,4 +1,4 @@
1
- import { MessageObject } from "@api/MessageEvents";
1
+ import { MessageObject } from "../api/MessageEvents";
2
2
  declare const _default: {
3
3
  name: string;
4
4
  description: string;
@@ -1,9 +1,9 @@
1
1
  /// <reference types="react" />
2
- import { OptionType } from "@utils/types";
3
- import { React } from "@webpack/common";
2
+ import { OptionType } from "../../utils/types";
3
+ import { React } from "../../webpack/common";
4
4
  import type { Root } from "react-dom/client";
5
5
  import { MagnifierProps } from "./components/Magnifier";
6
- export declare const settings: import("@utils/types").DefinedSettings<{
6
+ export declare const settings: import("../../utils/types").DefinedSettings<{
7
7
  saveZoomValues: {
8
8
  type: OptionType.BOOLEAN;
9
9
  description: string;
@@ -61,7 +61,7 @@ declare const _default: {
61
61
  replace: string;
62
62
  }[];
63
63
  })[];
64
- settings: import("@utils/types").DefinedSettings<{
64
+ settings: import("../../utils/types").DefinedSettings<{
65
65
  saveZoomValues: {
66
66
  type: OptionType.BOOLEAN;
67
67
  description: string;
@@ -1,5 +1,5 @@
1
- import Logger from "@utils/Logger";
2
- import { Patch, Plugin } from "@utils/types";
1
+ import Logger from "../utils/Logger";
2
+ import { Patch, Plugin } from "../utils/types";
3
3
  export declare const PMLogger: Logger;
4
4
  export declare const plugins: Record<string, Plugin>;
5
5
  export declare const patches: Patch[];
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import { OptionType } from "@utils/types";
2
+ import { OptionType } from "../../utils/types";
3
3
  import { Message } from "discord-types/general";
4
4
  declare const _default: {
5
5
  name: string;
@@ -19,7 +19,7 @@ declare const _default: {
19
19
  EMBED_API_URL: string;
20
20
  INV_REGEX: RegExp;
21
21
  URL_REGEX: RegExp;
22
- settings: import("@utils/types").DefinedSettings<{
22
+ settings: import("../../utils/types").DefinedSettings<{
23
23
  savedPasswords: {
24
24
  type: OptionType.STRING;
25
25
  default: string;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import { OptionType } from "@utils/types";
2
+ import { OptionType } from "../utils/types";
3
3
  interface ActivityAssets {
4
4
  large_image?: string;
5
5
  large_text?: string;
@@ -37,7 +37,7 @@ declare const _default: {
37
37
  id: bigint;
38
38
  }[];
39
39
  settingsAboutComponent: () => JSX.Element;
40
- settings: import("@utils/types").DefinedSettings<{
40
+ settings: import("../utils/types").DefinedSettings<{
41
41
  username: {
42
42
  description: string;
43
43
  type: OptionType.STRING;
@@ -1,4 +1,4 @@
1
- import { OptionType } from "@utils/types";
1
+ import { OptionType } from "../utils/types";
2
2
  declare const _default: {
3
3
  name: string;
4
4
  description: string;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import { OptionType } from "@utils/types";
2
+ import { OptionType } from "../utils/types";
3
3
  declare const _default: {
4
4
  name: string;
5
5
  description: string;
@@ -16,7 +16,7 @@ declare const _default: {
16
16
  }[];
17
17
  }[];
18
18
  AutoModEmbed: any;
19
- settings: import("@utils/types").DefinedSettings<{
19
+ settings: import("../utils/types").DefinedSettings<{
20
20
  messageBackgroundColor: {
21
21
  description: string;
22
22
  type: OptionType.BOOLEAN;
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import "./messageLogger.css";
3
- import { OptionType } from "@utils/types";
3
+ import { OptionType } from "../../utils/types";
4
4
  declare const _default: {
5
5
  name: string;
6
6
  description: string;
@@ -1,5 +1,5 @@
1
- import { ApplicationCommandInputType, ApplicationCommandOptionType } from "@api/Commands";
2
- import { OptionType } from "@utils/types";
1
+ import { ApplicationCommandInputType, ApplicationCommandOptionType } from "../api/Commands";
2
+ import { OptionType } from "../utils/types";
3
3
  declare const _default: {
4
4
  name: string;
5
5
  description: string;
@@ -32,7 +32,7 @@ declare const _default: {
32
32
  required: true;
33
33
  }[];
34
34
  }[];
35
- execute(args: import("@api/Commands").Argument[], ctx: import("@api/Commands").CommandContext): Promise<import("discord-types/general").Message | undefined>;
35
+ execute(args: import("../api/Commands").Argument[], ctx: import("../api/Commands").CommandContext): Promise<import("discord-types/general").Message | undefined>;
36
36
  }[];
37
37
  } & Record<string, any>;
38
38
  export default _default;
@@ -1,4 +1,4 @@
1
- import { ApplicationCommandInputType } from "@api/Commands";
1
+ import { ApplicationCommandInputType } from "../api/Commands";
2
2
  declare const _default: {
3
3
  name: string;
4
4
  description: string;
@@ -10,14 +10,14 @@ declare const _default: {
10
10
  commands: ({
11
11
  name: string;
12
12
  description: string;
13
- options: import("@api/Commands").Option[];
13
+ options: import("../api/Commands").Option[];
14
14
  inputType: ApplicationCommandInputType.BOT;
15
- execute: (opts: import("@api/Commands").Argument[], ctx: import("@api/Commands").CommandContext) => void;
15
+ execute: (opts: import("../api/Commands").Argument[], ctx: import("../api/Commands").CommandContext) => void;
16
16
  } | {
17
17
  name: string;
18
18
  description: string;
19
- options: import("@api/Commands").Option[];
20
- execute: (opts: import("@api/Commands").Argument[]) => {
19
+ options: import("../api/Commands").Option[];
20
+ execute: (opts: import("../api/Commands").Argument[]) => {
21
21
  content: string;
22
22
  };
23
23
  inputType?: undefined;
@@ -7,8 +7,8 @@ declare const _default: {
7
7
  }[];
8
8
  dependencies: string[];
9
9
  commands: {
10
- options: import("@api/Commands").Option[];
11
- execute: (opts: import("@api/Commands").Argument[]) => {
10
+ options: import("../api/Commands").Option[];
11
+ execute: (opts: import("../api/Commands").Argument[]) => {
12
12
  content: string;
13
13
  };
14
14
  name: string;
@@ -1,4 +1,4 @@
1
- import { OptionType } from "@utils/types";
1
+ import { OptionType } from "../utils/types";
2
2
  import { Channel, Message, User } from "discord-types/general";
3
3
  declare const _default: {
4
4
  name: string;
@@ -7,7 +7,7 @@ declare const _default: {
7
7
  name: string;
8
8
  id: bigint;
9
9
  }[];
10
- settings: import("@utils/types").DefinedSettings<{
10
+ settings: import("../utils/types").DefinedSettings<{
11
11
  dontShowForBots: {
12
12
  description: string;
13
13
  type: OptionType.BOOLEAN;
@@ -1,4 +1,4 @@
1
- import { OptionType } from "@utils/types";
1
+ import { OptionType } from "../utils/types";
2
2
  import { Message, ReactionEmoji } from "discord-types/general";
3
3
  interface IMessageCreate {
4
4
  type: "MESSAGE_CREATE";
@@ -30,7 +30,7 @@ declare const _default: {
30
30
  id: bigint;
31
31
  }[];
32
32
  description: string;
33
- settings: import("@utils/types").DefinedSettings<{
33
+ settings: import("../utils/types").DefinedSettings<{
34
34
  volume: {
35
35
  description: string;
36
36
  type: OptionType.SLIDER;
@@ -1,4 +1,4 @@
1
- import { OptionType } from "@utils/types";
1
+ import { OptionType } from "../utils/types";
2
2
  declare const _default: {
3
3
  name: string;
4
4
  description: string;
@@ -1,5 +1,5 @@
1
- import { MessageObject } from "@api/MessageEvents";
2
- import { OptionType } from "@utils/types";
1
+ import { MessageObject } from "../api/MessageEvents";
2
+ import { OptionType } from "../utils/types";
3
3
  declare const _default: {
4
4
  name: string;
5
5
  description: string;
@@ -1,4 +1,4 @@
1
- import { OptionType } from "@utils/types";
1
+ import { OptionType } from "../utils/types";
2
2
  import type { Message } from "discord-types/general";
3
3
  declare const _default: {
4
4
  name: string;
@@ -7,7 +7,7 @@ declare const _default: {
7
7
  name: string;
8
8
  id: bigint;
9
9
  }[];
10
- settings: import("@utils/types").DefinedSettings<{
10
+ settings: import("../utils/types").DefinedSettings<{
11
11
  exemptList: {
12
12
  description: string;
13
13
  type: OptionType.STRING;
@@ -1,4 +1,4 @@
1
- import { ApplicationCommandInputType, ApplicationCommandOptionType, Argument, CommandContext } from "@api/Commands";
1
+ import { ApplicationCommandInputType, ApplicationCommandOptionType, Argument, CommandContext } from "../api/Commands";
2
2
  declare const _default: {
3
3
  name: string;
4
4
  description: string;