mirror of
https://github.com/abocn/TelegramBot.git
synced 2025-03-10 04:39:57 +00:00
Removed bot about from help
This commit is contained in:
parent
67f8e5e34b
commit
87280cab21
@ -17,8 +17,7 @@ async function sendHelpMessage(ctx, isEditing) {
|
||||
[{ text: Strings.mainCommands, callback_data: 'helpMain' }, { text: Strings.usefulCommands, callback_data: 'helpUseful' }],
|
||||
[{ text: Strings.interactiveEmojis, callback_data: 'helpInteractive' }, { text: Strings.funnyCommands, callback_data: 'helpFunny' }],
|
||||
[{ text: Strings.lastFm, callback_data: 'helpLast' }, { text: Strings.animalCommands, callback_data: 'helpAnimals' }],
|
||||
[{ text: Strings.ytDlp, callback_data: 'helpYouTube' }, { text: Strings.myLittlePony, callback_data: 'helpMLP' }],
|
||||
[{ text: Strings.aboutBot, callback_data: 'helpAbout' }]
|
||||
[{ text: Strings.ytDlp, callback_data: 'helpYouTube' }, { text: Strings.myLittlePony, callback_data: 'helpMLP' }]
|
||||
]
|
||||
}
|
||||
};
|
||||
@ -91,10 +90,6 @@ module.exports = (bot) => {
|
||||
await ctx.answerCbQuery();
|
||||
await ctx.editMessageText(Strings.myLittlePonyDesc, options);
|
||||
break;
|
||||
case 'helpAbout':
|
||||
await ctx.answerCbQuery();
|
||||
await ctx.editMessageText(Strings.botAbout, options);
|
||||
break;
|
||||
case 'helpBack':
|
||||
await ctx.answerCbQuery();
|
||||
await sendHelpMessage(ctx, true);
|
||||
|
Loading…
x
Reference in New Issue
Block a user