Skip to content

Commit 44f9463

Browse files
committed
Feedback command done
1 parent 5202e28 commit 44f9463

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

src/app/app.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ const auth = require('./commands/auth');
1313
const help = require('./commands/help');
1414
const announcement = require('./commands/announcement');
1515
const roadmap = require('./commands/roadmap');
16+
const feedback = require('./commands/feedback');
1617

1718
//Events
1819
const onText = require('./events/onText');
@@ -63,6 +64,9 @@ bot.command("announcement", announcement)
6364
// Roadmap command
6465
bot.command("roadmap", roadmap)
6566

67+
// Feedback command
68+
bot.command("feedback", feedback)
69+
6670
/*
6771
* Little note: all the commands are before the events of the bot
6872
*/

src/app/commands/feedback.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
function feedback(ctx) {
2+
ctx.reply("Do you want to give me feedback?\n\n<strong>Message me!</strong>\n<strong>@frankaP</strong>", {parse_mode: "HTML"})
3+
}
4+
5+
module.exports = feedback

0 commit comments

Comments
 (0)