mirror of
https://gitlab.com/ceda_ei/Quadnite-Bot
synced 2026-05-06 05:40:04 +02:00
Add /expand
This commit is contained in:
@@ -7,9 +7,9 @@ const absurdify = require("./absurdify");
|
||||
const feedback = require("./feedback");
|
||||
const media_wiki = require("./media_wiki");
|
||||
const info = require("./info");
|
||||
const expand = require("./expand");
|
||||
|
||||
module.exports = (bot, [ questions, kys, insults, commands_list, words ],
|
||||
feedback_id, axios) => {
|
||||
module.exports = (bot, [ questions, kys, insults, commands_list, words ], feedback_id, axios) => {
|
||||
|
||||
bot.command("question", (ctx) => ctx.reply(random(questions)()));
|
||||
bot.command("word", (ctx) => ctx.reply(random(words)()));
|
||||
@@ -60,6 +60,7 @@ module.exports = (bot, [ questions, kys, insults, commands_list, words ],
|
||||
"https://wiki.archlinux.org/api.php")(ctx).then(x => ctx.reply(x,
|
||||
{parse_mode: "HTML"})));
|
||||
bot.command("info", (ctx) => ctx.reply(info()(ctx), {parse_mode: "Markdown"}));
|
||||
bot.command("expand", (ctx) => ctx.reply(expand(words)(ctx)));
|
||||
bot.command("start", (ctx) => ctx.reply("Hi, I am Quadnite. If you are "
|
||||
+ "chatting with me in private, you are most likely doing it wrong. "
|
||||
+ "Add me to a group for fun. To give feedback, use /feedback"));
|
||||
|
||||
Reference in New Issue
Block a user