3001.42.3

Bot will now install only necessary dependencies

if you change pfp bot will ask you to sign in to deadfish.cz shits
This commit is contained in:
Histmy 2022-10-15 12:24:45 +02:00
parent e73c15ae23
commit 19a411aca4
4 changed files with 16 additions and 8 deletions

4
package-lock.json generated
View File

@ -1,12 +1,12 @@
{
"name": "denim_3001",
"version": "3001.42.2",
"version": "3001.42.3",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "denim_3001",
"version": "3001.42.2",
"version": "3001.42.3",
"license": "ISC",
"dependencies": {
"@discordjs/voice": "^0.11.0",

View File

@ -1,6 +1,6 @@
{
"name": "denim_3001",
"version": "3001.42.2",
"version": "3001.42.3",
"description": "Toto je velmi kvalitní bot.",
"repository": {
"url": "https://github.com/Histmy/Denim-Bot/"

View File

@ -1,7 +1,7 @@
// Komandy nebo handelery který se nikam jinam nehodí
import { getVoiceConnections } from "@discordjs/voice";
import { Client, Message } from "discord.js";
import { APIEmbed, Client, Message, User } from "discord.js";
import { emouty } from "../utils/emotes";
import { createServer } from "http";
import { Modul } from "../utils/types";
@ -95,6 +95,14 @@ const exp: Modul = {
res.end("neco se posralo");
});
}).listen(1298);
},
on_userUpdate: (bef: User, aft: User) => {
if (bef.avatar == aft.avatar) return;
aft.createDM().then(ch => {
ch.send("cus bracho vydim ze sis zmenim profilofku na dalsi mrdku estli chces abi se ukazovala na na v3ech sr4kach kterz sou na dedfis.cy tak se tam prosymte prihlas haby se mohla zmnenit syk");
});
}
};

View File

@ -6,8 +6,8 @@ do
echo stahuju update
git stash
git pull
npm i
tsc
npm i --omit=dev
tsc >/dev/null
unset $neco
else
echo exit code byl $?
@ -15,9 +15,9 @@ do
neco=$(($novejcas-$cas))
if (($cas+86400<$novejcas))
then
echo Pošlo to, let\'s restart
echo Poslo to, let\'s restart
else
echo Pošlo to absolutně, seru na to
echo Poslo to absolutne, seru na to
break
fi
fi