mirror of
https://github.com/abocn/TelegramBot.git
synced 2025-03-10 12:49:57 +00:00
Trying to fix help
This commit is contained in:
parent
cda8c0006e
commit
ef63ae439c
@ -16,8 +16,8 @@ async function sendHelpMessage(ctx, isEditing) {
|
|||||||
inline_keyboard: [
|
inline_keyboard: [
|
||||||
[{ text: Strings.mainCommands, callback_data: 'helpMain' }, { text: Strings.usefulCommands, callback_data: 'helpUseful' }],
|
[{ 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.interactiveEmojis, callback_data: 'helpInteractive' }, { text: Strings.funnyCommands, callback_data: 'helpFunny' }],
|
||||||
[{ text: Strings.lastFm, callback_data: 'helpLast' }, { text: Strings.animalCommands, callback_data: 'helpAnimals' }],
|
[{ text: Strings.lastFm.helpEntry, callback_data: 'helpLast' }, { text: Strings.animalCommands, callback_data: 'helpAnimals' }],
|
||||||
[{ text: Strings.ytDlp, callback_data: 'helpYouTube' }, { text: Strings.myLittlePony, callback_data: 'helpMLP' }]
|
[{ text: Strings.ytDownload.helpEntry, callback_data: 'helpYouTube' }, { text: Strings.ponyApi.helpEntry, callback_data: 'helpMLP' }]
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
@ -76,11 +76,11 @@ module.exports = (bot) => {
|
|||||||
break;
|
break;
|
||||||
case 'helpLast':
|
case 'helpLast':
|
||||||
await ctx.answerCbQuery();
|
await ctx.answerCbQuery();
|
||||||
await ctx.editMessageText(Strings.lastFmDesc, options);
|
await ctx.editMessageText(Strings.lastFm.helpDesc, options);
|
||||||
break;
|
break;
|
||||||
case 'helpYouTube':
|
case 'helpYouTube':
|
||||||
await ctx.answerCbQuery();
|
await ctx.answerCbQuery();
|
||||||
await ctx.editMessageText(Strings.ytDlpDesc, options);
|
await ctx.editMessageText(Strings.ytDownload.helpDesc, options);
|
||||||
break;
|
break;
|
||||||
case 'helpAnimals':
|
case 'helpAnimals':
|
||||||
await ctx.answerCbQuery();
|
await ctx.answerCbQuery();
|
||||||
@ -88,7 +88,7 @@ module.exports = (bot) => {
|
|||||||
break;
|
break;
|
||||||
case 'helpMLP':
|
case 'helpMLP':
|
||||||
await ctx.answerCbQuery();
|
await ctx.answerCbQuery();
|
||||||
await ctx.editMessageText(Strings.myLittlePonyDesc, options);
|
await ctx.editMessageText(Strings.ponyApi.helpDesc, options);
|
||||||
break;
|
break;
|
||||||
case 'helpBack':
|
case 'helpBack':
|
||||||
await ctx.answerCbQuery();
|
await ctx.answerCbQuery();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user