File tree Expand file tree Collapse file tree 6 files changed +18
-10
lines changed Expand file tree Collapse file tree 6 files changed +18
-10
lines changed Original file line number Diff line number Diff line change 1010 'usage ' => 'Show step by step usage ' ,
1111 'server ' => 'To get Server Information ' ,
1212 'settings ' => 'Go to settings of the bot ' ,
13+ 'set_menu ' => 'Set the menu of the bot ' ,
1314 'back ' => 'Back ' ,
1415
15- 'discussion ' => '🗨 Discussion ' ,
16- 'source_code ' => '💠 Source Code ' ,
16+ 'discussion ' => 'Discussion ' ,
17+ 'source_code ' => 'Source Code ' ,
1718];
Original file line number Diff line number Diff line change 1010 'usage ' => 'Show step by step usage ' ,
1111 'server ' => 'To get Server Information ' ,
1212 'settings ' => 'Go to settings of the bot ' ,
13+ 'set_menu ' => 'Set the menu of the bot ' ,
1314 'back ' => 'Back ' ,
1415
15- 'discussion ' => '🗨 Discussion ' ,
16- 'source_code ' => '💠 Source Code ' ,
16+ 'discussion ' => 'Discussion ' ,
17+ 'source_code ' => 'Source Code ' ,
1718];
Original file line number Diff line number Diff line change 1010 'usage ' => 'Show step by step usage ' ,
1111 'server ' => 'To get Server Information ' ,
1212 'settings ' => 'Go to settings of the bot ' ,
13+ 'set_menu ' => 'Set the menu of the bot ' ,
1314 'back ' => 'Back ' ,
1415
15- 'discussion ' => '🗨 Discussion ' ,
16- 'source_code ' => '💠 Source Code ' ,
16+ 'discussion ' => 'Discussion ' ,
17+ 'source_code ' => 'Source Code ' ,
1718];
Original file line number Diff line number Diff line change 1010 'usage ' => 'Show step by step usage ' ,
1111 'server ' => 'To get Server Information ' ,
1212 'settings ' => 'Go to settings of the bot ' ,
13+ 'set_menu ' => 'Set the menu of the bot ' ,
1314 'back ' => 'Back ' ,
1415
15- 'discussion ' => '🗨 Discussion ' ,
16- 'source_code ' => '💠 Source Code ' ,
16+ 'discussion ' => 'Discussion ' ,
17+ 'source_code ' => 'Source Code ' ,
1718];
Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ public function __construct(Bot $bot)
2323
2424 /**
2525 * @param Bot $bot
26+ *
2627 * @return void
2728 *
2829 * @throws EntryNotFoundException
@@ -108,6 +109,9 @@ public static function menuCommands(): array
108109 ], [
109110 'command ' => '/settings ' ,
110111 'description ' => __ ('tg-notifier::tools/menu.settings ' ),
112+ ], [
113+ 'command ' => '/set_menu ' ,
114+ 'description ' => __ ('tg-notifier::tools/menu.set_menu ' ),
111115 ],
112116 ];
113117 }
Original file line number Diff line number Diff line change @@ -15,9 +15,9 @@ public function menuMarkup(Telegram $telegram): array
1515 {
1616 return [
1717 [
18- $ telegram ->buildInlineKeyBoardButton (__ ('tg-notifier::tools/menu.discussion ' ), config ('telegram-git-notifier.author.discussion ' )),
18+ $ telegram ->buildInlineKeyBoardButton (' 🗨 ' . __ ('tg-notifier::tools/menu.discussion ' ), config ('telegram-git-notifier.author.discussion ' )),
1919 ], [
20- $ telegram ->buildInlineKeyBoardButton (__ ('tg-notifier::tools/menu.source_code ' ), config ('telegram-git-notifier.author.source_code ' )),
20+ $ telegram ->buildInlineKeyBoardButton (' 💠 ' . __ ('tg-notifier::tools/menu.source_code ' ), config ('telegram-git-notifier.author.source_code ' )),
2121 ],
2222 ];
2323 }
You can’t perform that action at this time.
0 commit comments