opět děkujeme CodeFactoru za přínosné připomínky
This commit is contained in:
parent
0c5f39d981
commit
443fad6b6c
@ -5,7 +5,7 @@ import { emouty } from "../utils/emotes";
|
||||
import { Modul } from "../utils/types";
|
||||
import { formatCas, ping, rand } from "../utils/utils";
|
||||
|
||||
const pomoc: [string[], Record<string, any>] = require("../../res/pomoc.json");
|
||||
const pomoc: [string[], Record<string, unknown>] = require("../../res/pomoc.json");
|
||||
const ftipy: string[] = require("../../res/ftipy.json");
|
||||
|
||||
const delAndReturn = (mes: Message, co: string) => {
|
||||
|
||||
@ -195,7 +195,7 @@ const exp: Modul = {
|
||||
reknivtip: mes => {
|
||||
const zvuk = ["a_jednou_sel_a_tak_moc_sel", "a_sedel", "a_sel_z_vaku_a_vykopal_marese", "a_si_rekl", "a_si_vsimnul", "u_zamestnaly_na_praxi"][rand(7)];
|
||||
const client: CClient = module.exports.client;
|
||||
return playAndFukOff(mes, (client.komandy["vtip"].run as Function)(), `zvuky/ftipy/toz_sims${zvuk}.mp3`);
|
||||
return playAndFukOff(mes, (client.komandy["vtip"].run as (() => string))(), `zvuky/ftipy/toz_sims${zvuk}.mp3`);
|
||||
},
|
||||
|
||||
zmenneodposlouchavani: () => {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user