This commit is contained in:
Flummi 2022-04-03 01:29:43 +00:00
parent 9e4079e3f4
commit 96776d840b
5 changed files with 17 additions and 2 deletions

View File

@ -12,7 +12,7 @@
"license": "WTFPL",
"dependencies": {
"cleverbot-free": "^1.1.7",
"cuffeo": "^1.0.6-1",
"cuffeo": "^1.0.7-3",
"flumm-fetch-cookies": "^1.4.0",
"pg": "^8.3.0"
}

View File

@ -21,7 +21,7 @@ export default async bot => {
.replace(/uw(e|i)/gi, "")
.split("?").join(" ")
);
e.reply(oger(res));
e.reply(oger(res).trim());
}
}]
};

View File

@ -31,6 +31,7 @@ export default async bot => {
return [{
name: "pr0gag",
call: /pr0gramm\.com\/.+\/.+/i,
active: false,
set: "uwe",
f: async e => {
let matches, id, link, list;

View File

@ -53,6 +53,13 @@ export default async bot => {
f: e => {
e.replyAction(data.kaffee[~~(Math.random() * data.kaffee.length)].replace("{user}", `[b]${e.args.join(" ") || e.user.nick}[/b]`));
}
}, {
name: "jannis",
call: /^(\.|\/)jannis /i,
set: "uwe",
f: e => {
e.reply(`hf mit eurem ${e.args.join(" ")}kreiswichsen ❤️`);
}
}, {
name: "milch",
call: /^(\.|\/)milch /i,

View File

@ -24,5 +24,12 @@ export default async bot => {
return e.reply("ups, dieses Meme wäre nsfw gewesen.");
return e.reply(meme.url);
}
}, {
name: "randomotter",
call: /^(\.|\/)otter$/i,
f: async e => {
const otter = await (await fetch("https://api.tinyfox.dev/img?animal=otter&json")).json();
return e.reply(`https://api.tinyfox.dev${otter.loc}`);
}
}]
};