diff --git a/package-lock.json b/package-lock.json index 6015799..7be3200 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "denim_3001", - "version": "3001.34.0", + "version": "3001.34.1", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "denim_3001", - "version": "3001.34.0", + "version": "3001.34.1", "license": "ISC", "dependencies": { "@discordjs/opus": "github:discordjs/opus", diff --git a/package.json b/package.json index 1dce814..7b57e22 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "denim_3001", - "version": "3001.34.0", + "version": "3001.34.1", "description": "Toto je velmi kvalitní bot.", "repository": { "url": "https://github.com/Histmy/Denim-Bot/" diff --git a/src/modules/spink.ts b/src/modules/spink.ts index fd8fe35..c2ec1a3 100644 --- a/src/modules/spink.ts +++ b/src/modules/spink.ts @@ -69,6 +69,11 @@ const tovjemamvolepreceroliky = async (roliky: GuildMember) => { return `dobry rano hajzle ${roliky.user}\nspal sy ${formatedCas}\n${zpr}`; }; +function napsatZbynovyZeJeBidak(mes: Message) { + if (!["442754524697067520", "688169800710750211"].includes(mes.author.id)) return; + mes.channel.send("ted spat?\ntak to si bydak"); +} + const exp: Modul = { more_komandy: { @@ -79,6 +84,7 @@ const exp: Modul = { if (await handleSpink("spinkacek", mes.member!)) { mes.react(emouty.spinkacek); ifUzRemove(mes); + napsatZbynovyZeJeBidak(mes); } else return 'nespis uz?????'; } @@ -98,6 +104,8 @@ const exp: Modul = { run: (mes, kdy) => { if (mes.author.bot) return emouty.sjeta; + napsatZbynovyZeJeBidak(mes); + const ted = new Date(); const tedT = Number(ted); const spink = new Date();