added alias apdejt

This commit is contained in:
Histmy 2022-01-28 16:17:00 +01:00
parent 348600aba5
commit 5cf07fc9c2

View File

@ -20,7 +20,9 @@ const exp: Modul = {
}
},
update: async mes => {
update: {
als: ["apdejt"],
run: async mes => {
const sudo = mes.channel.id == process.env.adminChannel || mes.author.id == process.env.adminID;
if (!sudo) {
const verze = await fetch("https://denim3001.deadfish.cz/version.txt")
@ -34,6 +36,7 @@ const exp: Modul = {
mes.react("👋")
.then(() => process.exit());
}
}
},
super_on_message: {