zbynk a jeho spink

This commit is contained in:
Histmy 2021-12-29 03:14:21 +01:00
parent 6b99ed9b74
commit 0605fccf1f
3 changed files with 11 additions and 3 deletions

4
package-lock.json generated
View File

@ -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",

View File

@ -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/"

View File

@ -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();