File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed
Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ const auth = require('./commands/auth');
1313const help = require ( './commands/help' ) ;
1414const announcement = require ( './commands/announcement' ) ;
1515const roadmap = require ( './commands/roadmap' ) ;
16+ const feedback = require ( './commands/feedback' ) ;
1617
1718//Events
1819const onText = require ( './events/onText' ) ;
@@ -63,6 +64,9 @@ bot.command("announcement", announcement)
6364// Roadmap command
6465bot . 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*/
Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments