pro jistotku
This commit is contained in:
parent
a2b5a9818b
commit
46e9b5bb44
@ -24,6 +24,11 @@ client.on("error", err => {
|
|||||||
adminLog(client, "nejaka chyba na klijentovi", err);
|
adminLog(client, "nejaka chyba na klijentovi", err);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
client.on("shardError", err => {
|
||||||
|
log(err);
|
||||||
|
adminLog(client, "šárd ejrr??", err);
|
||||||
|
});
|
||||||
|
|
||||||
client.komandy = {};
|
client.komandy = {};
|
||||||
client.aliasy = {};
|
client.aliasy = {};
|
||||||
setClient(client);
|
setClient(client);
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
import { APIEmbed, ActionRowBuilder, ButtonBuilder, ButtonInteraction, ButtonStyle, CacheType, ChannelType, Client, Collection, ComponentType, MessageCreateOptions, TextBasedChannel, User } from "discord.js";
|
import { APIEmbed, ActionRowBuilder, ButtonBuilder, ButtonInteraction, ButtonStyle, CacheType, ChannelType, Client, ComponentType, MessageCreateOptions, ReadonlyCollection, TextBasedChannel, User } from "discord.js";
|
||||||
import { existsSync } from "fs";
|
import { existsSync } from "fs";
|
||||||
import { MysqlError, createPool } from "mysql";
|
import { MysqlError, createPool } from "mysql";
|
||||||
|
|
||||||
@ -111,7 +111,7 @@ type Nastaveni = {
|
|||||||
onCollect: (i: ButtonInteraction, id: number, radek: ActionRowBuilder<ButtonBuilder>) => void;
|
onCollect: (i: ButtonInteraction, id: number, radek: ActionRowBuilder<ButtonBuilder>) => void;
|
||||||
timeout?: number;
|
timeout?: number;
|
||||||
} & ({
|
} & ({
|
||||||
onEnd: (c: Collection<string, ButtonInteraction<CacheType>>) => void;
|
onEnd: (c: ReadonlyCollection<string, ButtonInteraction<CacheType>>) => void;
|
||||||
} | {
|
} | {
|
||||||
konecnaZprava: string;
|
konecnaZprava: string;
|
||||||
stejne?: boolean;
|
stejne?: boolean;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user