fix: add emojis to help commands, capitalize, add ai commands to help menu
This commit is contained in:
parent
f6863c448b
commit
e77c145eff
3 changed files with 29 additions and 20 deletions
|
@ -32,7 +32,8 @@ 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.helpEntry, callback_data: 'helpLast' }, { text: Strings.animalCommands, callback_data: 'helpAnimals' }],
|
||||
[{ text: Strings.ytDownload.helpEntry, callback_data: 'helpYouTube' }, { text: Strings.ponyApi.helpEntry, callback_data: 'helpMLP' }]
|
||||
[{ text: Strings.ytDownload.helpEntry, callback_data: 'helpYouTube' }, { text: Strings.ponyApi.helpEntry, callback_data: 'helpMLP' }],
|
||||
[{ text: Strings.aiCmds, callback_data: 'helpAi' }]
|
||||
]
|
||||
}
|
||||
};
|
||||
|
@ -112,6 +113,10 @@ export default (bot) => {
|
|||
await ctx.answerCbQuery();
|
||||
await ctx.editMessageText(Strings.ponyApi.helpDesc, options);
|
||||
break;
|
||||
case 'helpAi':
|
||||
await ctx.answerCbQuery();
|
||||
await ctx.editMessageText(Strings.aiCmdsDesc, options);
|
||||
break;
|
||||
case 'helpBack':
|
||||
await ctx.answerCbQuery();
|
||||
await sendHelpMessage(ctx, true);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue