3001.30.1
added alias p:gn: added command zruspgn
This commit is contained in:
parent
a36a030ff0
commit
fab5e31645
4
package-lock.json
generated
4
package-lock.json
generated
@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "denim_3001",
|
||||
"version": "3001.30.0",
|
||||
"version": "3001.30.1",
|
||||
"lockfileVersion": 2,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "denim_3001",
|
||||
"version": "3001.30.0",
|
||||
"version": "3001.30.1",
|
||||
"license": "ISC",
|
||||
"dependencies": {
|
||||
"@discordjs/opus": "github:discordjs/opus",
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "denim_3001",
|
||||
"version": "3001.30.0",
|
||||
"version": "3001.30.1",
|
||||
"description": "Toto je velmi kvalitní bot.",
|
||||
"repository": {
|
||||
"url": "https://github.com/Histmy/Denim-Bot/"
|
||||
|
||||
@ -46,7 +46,7 @@ const exp: Modul = {
|
||||
more_komandy: {
|
||||
|
||||
spinkacek: {
|
||||
als: ["spink", "spoink", "spinkake", "spoinkacek", "gn", "<:spinkacek:761652251966046208>", "<:gn:887124590583746590>"],
|
||||
als: ["spink", "spoink", "spinkake", "spoinkacek", "gn", emouty.spinkacek, emouty.gn],
|
||||
run: async (mes) => {
|
||||
if (mes.author.bot) return `až někdy${emouty.kapp}`;
|
||||
if (await handleSpink("spinkacek", mes.member!)) {
|
||||
@ -81,7 +81,9 @@ const exp: Modul = {
|
||||
}
|
||||
},
|
||||
|
||||
pgn: (mes, kdy) => {
|
||||
pgn: {
|
||||
als: [`p${emouty.gn}`],
|
||||
run: (mes, kdy) => {
|
||||
if (mes.author.bot) return emouty.sjeta;
|
||||
|
||||
const ted = new Date();
|
||||
@ -113,6 +115,7 @@ const exp: Modul = {
|
||||
|
||||
budouciSpinky[mes.author.id] = setTimeout(() => handleSpink("spinkacek", mes.member!), Number(spink) - tedT);
|
||||
return `tvuj spinkacek byl naplanovan na ${formatter(spink)}`;
|
||||
}
|
||||
},
|
||||
|
||||
ps: {
|
||||
@ -126,6 +129,17 @@ const exp: Modul = {
|
||||
const cas = Number(new Date()) - Number(new Date(tajmUp));
|
||||
return `uz ${f ? "je" : "jsi"} vzhuru ${formatCas(cas / 1000)}`;
|
||||
}
|
||||
},
|
||||
|
||||
zruspgn: {
|
||||
als: ["zpgn", "cancelpgn", "cpgn", "unpgn", `unp${emouty.gn}`],
|
||||
run: (mes) => {
|
||||
const jehoSpink = budouciSpinky[mes.author.id];
|
||||
if (!jehoSpink) return `spinkacek ale nemas naplanovanej ty kkte ${mes.author}`;
|
||||
clearTimeout(jehoSpink);
|
||||
delete budouciSpinky[mes.author.id];
|
||||
return "to bylo teda trapny debile";
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user