Przeglądaj źródła

Remove types

Types are generated every build.
master
TheoryOfNekomata 1 rok temu
rodzic
commit
125df3458e
13 zmienionych plików z 1 dodań i 44 usunięć
  1. +1
    -0
      .gitignore
  2. +0
    -3
      types/client.d.ts
  3. +0
    -3
      types/commands/help.d.ts
  4. +0
    -3
      types/commands/post.d.ts
  5. +0
    -14
      types/config.d.ts
  6. +0
    -4
      types/functions/anime.d.ts
  7. +0
    -2
      types/functions/meme.d.ts
  8. +0
    -2
      types/handlers.d.ts
  9. +0
    -1
      types/handlers/messageCreate.d.ts
  10. +0
    -1
      types/handlers/ready.d.ts
  11. +0
    -1
      types/index.d.ts
  12. +0
    -7
      types/utils/database.d.ts
  13. +0
    -3
      types/utils/sources.d.ts

+ 1
- 0
.gitignore Wyświetl plik

@@ -109,3 +109,4 @@ dist
.image-replies.json
.text-replies.json
.idea/
types/

+ 0
- 3
types/client.d.ts Wyświetl plik

@@ -1,3 +0,0 @@
import { Client } from 'discord.js';
declare const CLIENT: Client<boolean>;
export default CLIENT;

+ 0
- 3
types/commands/help.d.ts Wyświetl plik

@@ -1,3 +0,0 @@
import { Message } from 'discord.js';
declare const _default: (message: Message) => Promise<void>;
export default _default;

+ 0
- 3
types/commands/post.d.ts Wyświetl plik

@@ -1,3 +0,0 @@
import { Message } from 'discord.js';
declare const _default: (message: Message, ...args: string[]) => Promise<void>;
export default _default;

+ 0
- 14
types/config.d.ts Wyświetl plik

@@ -1,14 +0,0 @@
import { BitFieldResolvable, Partials } from 'discord.js';
export declare namespace discord {
const botIntents: BitFieldResolvable<"Guilds" | "GuildMembers" | "GuildModeration" | "GuildBans" | "GuildEmojisAndStickers" | "GuildIntegrations" | "GuildWebhooks" | "GuildInvites" | "GuildVoiceStates" | "GuildPresences" | "GuildMessages" | "GuildMessageReactions" | "GuildMessageTyping" | "DirectMessages" | "DirectMessageReactions" | "DirectMessageTyping" | "MessageContent" | "GuildScheduledEvents" | "AutoModerationConfiguration" | "AutoModerationExecution", number>;
const botPartials: Partials[];
}
export declare namespace gelbooru {
const apiUrl: string;
const apiKey: string;
const userId: string;
}
export declare namespace saucenao {
const apiUrl: string;
const apiKey: string;
}

+ 0
- 4
types/functions/anime.d.ts Wyświetl plik

@@ -1,4 +0,0 @@
import { Message } from 'discord.js';
export declare const listenForImagesAndReply: (message: Message) => Promise<void>;
export declare const replyRandomImage: (message: Message, topic: string) => Promise<void>;
export declare const queueImage: (message: Message) => Promise<void>;

+ 0
- 2
types/functions/meme.d.ts Wyświetl plik

@@ -1,2 +0,0 @@
import { Message } from 'discord.js';
export declare const listenForKeywordsAndReply: (message: Message) => Promise<void>;

+ 0
- 2
types/handlers.d.ts Wyświetl plik

@@ -1,2 +0,0 @@
import './handlers/ready';
import './handlers/messageCreate';

+ 0
- 1
types/handlers/messageCreate.d.ts Wyświetl plik

@@ -1 +0,0 @@
export {};

+ 0
- 1
types/handlers/ready.d.ts Wyświetl plik

@@ -1 +0,0 @@
export {};

+ 0
- 1
types/index.d.ts Wyświetl plik

@@ -1 +0,0 @@
import './handlers';

+ 0
- 7
types/utils/database.d.ts Wyświetl plik

@@ -1,7 +0,0 @@
export type Item = {
url: string;
reactions?: string[];
};
export declare const save: (userId: string, item: Item) => Promise<void>;
export declare const load: (userId: string, count?: number) => Promise<Item[]>;
export declare const remove: (userId: string, count?: number) => Promise<void>;

+ 0
- 3
types/utils/sources.d.ts Wyświetl plik

@@ -1,3 +0,0 @@
export declare const fetchBooru: (q: string, page?: number) => Promise<any>;
export declare const fetchImage: (id: string) => Promise<any>;
export declare const reverseSearch: (u: string) => Promise<any>;

Ładowanie…
Anuluj
Zapisz