mirror of
https://gitlab.com/ceda_ei/Quadnite-Bot
synced 2025-10-29 08:10:05 +01:00
Compare commits
3 Commits
node_port
...
e4311467b3
| Author | SHA1 | Date | |
|---|---|---|---|
| e4311467b3 | |||
| bd2f38679c | |||
| 59e8db799a |
@@ -60,5 +60,8 @@ module.exports = (bot, [ questions, kys, insults, commands_list, words ],
|
|||||||
"https://wiki.archlinux.org/api.php")(ctx).then(x => ctx.reply(x,
|
"https://wiki.archlinux.org/api.php")(ctx).then(x => ctx.reply(x,
|
||||||
{parse_mode: "HTML"})));
|
{parse_mode: "HTML"})));
|
||||||
bot.command("info", (ctx) => ctx.reply(info()(ctx), {parse_mode: "Markdown"}));
|
bot.command("info", (ctx) => ctx.reply(info()(ctx), {parse_mode: "Markdown"}));
|
||||||
|
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"));
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ module.exports = () => (ctx) => {
|
|||||||
text += "Channel ID: ";
|
text += "Channel ID: ";
|
||||||
text += `\`${forward.id}\`\n`;
|
text += `\`${forward.id}\`\n`;
|
||||||
text += "Message Date: `";
|
text += "Message Date: `";
|
||||||
const date = new Date(reply.forward_date);
|
const date = new Date(reply.forward_date*1000);
|
||||||
text += date.toUTCString();
|
text += date.toUTCString();
|
||||||
text += "`";
|
text += "`";
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user