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",
|
"name": "denim_3001",
|
||||||
"version": "3001.30.0",
|
"version": "3001.30.1",
|
||||||
"lockfileVersion": 2,
|
"lockfileVersion": 2,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "denim_3001",
|
"name": "denim_3001",
|
||||||
"version": "3001.30.0",
|
"version": "3001.30.1",
|
||||||
"license": "ISC",
|
"license": "ISC",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@discordjs/opus": "github:discordjs/opus",
|
"@discordjs/opus": "github:discordjs/opus",
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "denim_3001",
|
"name": "denim_3001",
|
||||||
"version": "3001.30.0",
|
"version": "3001.30.1",
|
||||||
"description": "Toto je velmi kvalitní bot.",
|
"description": "Toto je velmi kvalitní bot.",
|
||||||
"repository": {
|
"repository": {
|
||||||
"url": "https://github.com/Histmy/Denim-Bot/"
|
"url": "https://github.com/Histmy/Denim-Bot/"
|
||||||
|
|||||||
@ -46,7 +46,7 @@ const exp: Modul = {
|
|||||||
more_komandy: {
|
more_komandy: {
|
||||||
|
|
||||||
spinkacek: {
|
spinkacek: {
|
||||||
als: ["spink", "spoink", "spinkake", "spoinkacek", "gn", "<:spinkacek:761652251966046208>", "<:gn:887124590583746590>"],
|
als: ["spink", "spoink", "spinkake", "spoinkacek", "gn", emouty.spinkacek, emouty.gn],
|
||||||
run: async (mes) => {
|
run: async (mes) => {
|
||||||
if (mes.author.bot) return `až někdy${emouty.kapp}`;
|
if (mes.author.bot) return `až někdy${emouty.kapp}`;
|
||||||
if (await handleSpink("spinkacek", mes.member!)) {
|
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;
|
if (mes.author.bot) return emouty.sjeta;
|
||||||
|
|
||||||
const ted = new Date();
|
const ted = new Date();
|
||||||
@ -113,6 +115,7 @@ const exp: Modul = {
|
|||||||
|
|
||||||
budouciSpinky[mes.author.id] = setTimeout(() => handleSpink("spinkacek", mes.member!), Number(spink) - tedT);
|
budouciSpinky[mes.author.id] = setTimeout(() => handleSpink("spinkacek", mes.member!), Number(spink) - tedT);
|
||||||
return `tvuj spinkacek byl naplanovan na ${formatter(spink)}`;
|
return `tvuj spinkacek byl naplanovan na ${formatter(spink)}`;
|
||||||
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
ps: {
|
ps: {
|
||||||
@ -126,6 +129,17 @@ const exp: Modul = {
|
|||||||
const cas = Number(new Date()) - Number(new Date(tajmUp));
|
const cas = Number(new Date()) - Number(new Date(tajmUp));
|
||||||
return `uz ${f ? "je" : "jsi"} vzhuru ${formatCas(cas / 1000)}`;
|
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