Pony API integration for My Little Pony information
This commit is contained in:
parent
ae9f92ae96
commit
4688c4af31
5 changed files with 172 additions and 4 deletions
|
@ -11,7 +11,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.ytDlp, callback_data: 'helpYouTube' }, { text: Strings.myLittlePony, callback_data: 'helpMLP' }]
|
||||
]
|
||||
}
|
||||
};
|
||||
|
@ -70,6 +70,10 @@ module.exports = (bot) => {
|
|||
await ctx.answerCbQuery();
|
||||
await ctx.editMessageText(Strings.animalCommandsDesc, options);
|
||||
break;
|
||||
case 'helpMLP':
|
||||
await ctx.answerCbQuery();
|
||||
await ctx.editMessageText(Strings.myLittlePonyDesc, options);
|
||||
break;
|
||||
case 'helpBack':
|
||||
await ctx.answerCbQuery();
|
||||
await sendHelpMessage(ctx, true);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue