File tree 6 files changed +17
-10
lines changed
6 files changed +17
-10
lines changed Original file line number Diff line number Diff line change 10
10
'usage ' => 'Show step by step usage ' ,
11
11
'server ' => 'To get Server Information ' ,
12
12
'settings ' => 'Go to settings of the bot ' ,
13
+ 'set_menu ' => 'Set the menu of the bot ' ,
13
14
'back ' => 'Back ' ,
14
15
15
- 'discussion ' => '🗨 Discussion ' ,
16
- 'source_code ' => '💠 Source Code ' ,
16
+ 'discussion ' => 'Discussion ' ,
17
+ 'source_code ' => 'Source Code ' ,
17
18
];
Original file line number Diff line number Diff line change 10
10
'usage ' => 'Show step by step usage ' ,
11
11
'server ' => 'To get Server Information ' ,
12
12
'settings ' => 'Go to settings of the bot ' ,
13
+ 'set_menu ' => 'Set the menu of the bot ' ,
13
14
'back ' => 'Back ' ,
14
15
15
- 'discussion ' => '🗨 Discussion ' ,
16
- 'source_code ' => '💠 Source Code ' ,
16
+ 'discussion ' => 'Discussion ' ,
17
+ 'source_code ' => 'Source Code ' ,
17
18
];
Original file line number Diff line number Diff line change 10
10
'usage ' => 'Show step by step usage ' ,
11
11
'server ' => 'To get Server Information ' ,
12
12
'settings ' => 'Go to settings of the bot ' ,
13
+ 'set_menu ' => 'Set the menu of the bot ' ,
13
14
'back ' => 'Back ' ,
14
15
15
- 'discussion ' => '🗨 Discussion ' ,
16
- 'source_code ' => '💠 Source Code ' ,
16
+ 'discussion ' => 'Discussion ' ,
17
+ 'source_code ' => 'Source Code ' ,
17
18
];
Original file line number Diff line number Diff line change 10
10
'usage ' => 'Show step by step usage ' ,
11
11
'server ' => 'To get Server Information ' ,
12
12
'settings ' => 'Go to settings of the bot ' ,
13
+ 'set_menu ' => 'Set the menu of the bot ' ,
13
14
'back ' => 'Back ' ,
14
15
15
- 'discussion ' => '🗨 Discussion ' ,
16
- 'source_code ' => '💠 Source Code ' ,
16
+ 'discussion ' => 'Discussion ' ,
17
+ 'source_code ' => 'Source Code ' ,
17
18
];
Original file line number Diff line number Diff line change @@ -108,6 +108,9 @@ public static function menuCommands(): array
108
108
], [
109
109
'command ' => '/settings ' ,
110
110
'description ' => __ ('tg-notifier::tools/menu.settings ' ),
111
+ ], [
112
+ 'command ' => '/set_menu ' ,
113
+ 'description ' => __ ('tg-notifier::tools/menu.set_menu ' ),
111
114
],
112
115
];
113
116
}
Original file line number Diff line number Diff line change @@ -15,9 +15,9 @@ public function menuMarkup(Telegram $telegram): array
15
15
{
16
16
return [
17
17
[
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 ' )),
19
19
], [
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 ' )),
21
21
],
22
22
];
23
23
}
You can’t perform that action at this time.
0 commit comments