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", "license": "WTFPL",
"dependencies": { "dependencies": {
"cleverbot-free": "^1.1.7", "cleverbot-free": "^1.1.7",
"cuffeo": "^1.0.6-1", "cuffeo": "^1.0.7-3",
"flumm-fetch-cookies": "^1.4.0", "flumm-fetch-cookies": "^1.4.0",
"pg": "^8.3.0" "pg": "^8.3.0"
} }

View File

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

View File

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

View File

@ -53,6 +53,13 @@ export default async bot => {
f: e => { f: e => {
e.replyAction(data.kaffee[~~(Math.random() * data.kaffee.length)].replace("{user}", `[b]${e.args.join(" ") || e.user.nick}[/b]`)); 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", name: "milch",
call: /^(\.|\/)milch /i, 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("ups, dieses Meme wäre nsfw gewesen.");
return e.reply(meme.url); 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}`);
}
}] }]
}; };