Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

/voice converts audio files #152

Merged
merged 3 commits into from
Jan 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion commands/handlers/ping-handler.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const definition = {
command_name: 'ping',
description: 'Возвращает <code>Pong</code>.',
description: 'pong.',
is_inline: true,
};
const condition = true;
Expand Down
4 changes: 2 additions & 2 deletions docs/jsdoc/ChatGPT.ChatGPTHandler.html
Original file line number Diff line number Diff line change
Expand Up @@ -2622,13 +2622,13 @@ <h5>Returns:</h5>
</div>

<nav>
<h2><a href="index.html">Home</a></h2><h3>Namespaces</h3><ul><li><a href="ChatGPT.html">ChatGPT</a></li></ul><h3>Classes</h3><ul><li><a href="ChatGPT.ChatGPTHandler.html">ChatGPTHandler</a></li><li><a href="ChatGPT.ContextNode.html">ContextNode</a></li><li><a href="ChatGPT.ContextTree.html">ContextTree</a></li><li><a href="TelegramClient.html">TelegramClient</a></li><li><a href="global.html#TelegramInteraction">TelegramInteraction</a></li></ul><h3>Global</h3><ul><li><a href="global.html#answerCallback">answerCallback</a></li><li><a href="global.html#bot">bot</a></li><li><a href="global.html#callback">callback</a></li><li><a href="global.html#clearNotification">clearNotification</a></li><li><a href="global.html#commonizeContext">commonizeContext</a></li><li><a href="global.html#commonizeInteraction">commonizeInteraction</a></li><li><a href="global.html#del">del</a></li><li><a href="global.html#editNotificationMessage">editNotificationMessage</a></li><li><a href="global.html#encodeCallbackData">encodeCallbackData</a></li><li><a href="global.html#fizzbuzz">fizzbuzz</a></li><li><a href="global.html#generateAPICall">generateAPICall</a></li><li><a href="global.html#get">get</a></li><li><a href="global.html#getAhegaoUrl">getAhegaoUrl</a></li><li><a href="global.html#getBest">getBest</a></li><li><a href="global.html#getCallbackData">getCallbackData</a></li><li><a href="global.html#getDiscordNotification">getDiscordNotification</a></li><li><a href="global.html#getGamesFromRedis">getGamesFromRedis</a></li><li><a href="global.html#getList">getList</a></li><li><a href="global.html#getPresenceNotification">getPresenceNotification</a></li><li><a href="global.html#getRedis">getRedis</a></li><li><a href="global.html#getUrbanDefinition">getUrbanDefinition</a></li><li><a href="global.html#gh">gh</a></li><li><a href="global.html#handleCallback">handleCallback</a></li><li><a href="global.html#handleCommand">handleCommand</a></li><li><a href="global.html#handler">handler</a></li><li><a href="global.html#help">help</a></li><li><a href="global.html#html">html</a></li><li><a href="global.html#isSimilar">isSimilar</a></li><li><a href="global.html#listingMenuCallback">listingMenuCallback</a></li><li><a href="global.html#parseArgs">parseArgs</a></li><li><a href="global.html#parseCallbackData">parseCallbackData</a></li><li><a href="global.html#pinNotificationMessage">pinNotificationMessage</a></li><li><a href="global.html#replaceWithLink">replaceWithLink</a></li><li><a href="global.html#replyWithText">replyWithText</a></li><li><a href="global.html#saveResults">saveResults</a></li><li><a href="global.html#sendNotificationMessage">sendNotificationMessage</a></li><li><a href="global.html#set">set</a></li><li><a href="global.html#startRedis">startRedis</a></li><li><a href="global.html#urbanToHTML">urbanToHTML</a></li><li><a href="global.html#used">used</a></li><li><a href="global.html#voice">voice</a></li><li><a href="global.html#ytdl">ytdl</a></li></ul>
<h2><a href="index.html">Home</a></h2><h3>Namespaces</h3><ul><li><a href="ChatGPT.html">ChatGPT</a></li><li><a href="Telegram.html">Telegram</a></li><li><a href="Telegram.Commands.html">Commands</a></li><li><a href="Telegram.Commands.Utils.html">Utils</a></li><li><a href="Telegram.Commands.deep.html">deep</a></li><li><a href="Telegram.Commands.fizzbuzz.html">fizzbuzz</a></li><li><a href="Telegram.Commands.get.html">get</a></li><li><a href="Telegram.Commands.gh.html">gh</a></li><li><a href="Telegram.Commands.help.html">help</a></li><li><a href="Telegram.Commands.html.html">html</a></li><li><a href="Telegram.Commands.html#.info">info</a></li><li><a href="Telegram.Commands.roundit.html">roundit</a></li><li><a href="Telegram.Commands.t.html">t</a></li><li><a href="Telegram.Commands.tldr.html">tldr</a></li><li><a href="Telegram.Commands.voice.html">voice</a></li><li><a href="Telegram.Commands.webapp.html">webapp</a></li><li><a href="Telegram.Commands.ytdl.html">ytdl</a></li></ul><h3>Classes</h3><ul><li><a href="ChatGPT.ChatGPTHandler.html">ChatGPTHandler</a></li><li><a href="ChatGPT.ContextNode.html">ContextNode</a></li><li><a href="ChatGPT.ContextTree.html">ContextTree</a></li><li><a href="TelegramClient.html">TelegramClient</a></li><li><a href="global.html#TelegramInteraction">TelegramInteraction</a></li></ul><h3>Global</h3><ul><li><a href="global.html#answerCallback">answerCallback</a></li><li><a href="global.html#bot">bot</a></li><li><a href="global.html#callback">callback</a></li><li><a href="global.html#clearNotification">clearNotification</a></li><li><a href="global.html#commonizeContext">commonizeContext</a></li><li><a href="global.html#commonizeInteraction">commonizeInteraction</a></li><li><a href="global.html#editNotificationMessage">editNotificationMessage</a></li><li><a href="global.html#encodeCallbackData">encodeCallbackData</a></li><li><a href="global.html#generateAPICall">generateAPICall</a></li><li><a href="global.html#getAhegaoUrl">getAhegaoUrl</a></li><li><a href="global.html#getCallbackData">getCallbackData</a></li><li><a href="global.html#getDiscordNotification">getDiscordNotification</a></li><li><a href="global.html#getGamesFromRedis">getGamesFromRedis</a></li><li><a href="global.html#getPresenceNotification">getPresenceNotification</a></li><li><a href="global.html#getRedis">getRedis</a></li><li><a href="global.html#getUrbanDefinition">getUrbanDefinition</a></li><li><a href="global.html#handleCallback">handleCallback</a></li><li><a href="global.html#handleCommand">handleCommand</a></li><li><a href="global.html#handler">handler</a></li><li><a href="global.html#listingMenuCallback">listingMenuCallback</a></li><li><a href="global.html#parseCallbackData">parseCallbackData</a></li><li><a href="global.html#pinNotificationMessage">pinNotificationMessage</a></li><li><a href="global.html#replaceWithLink">replaceWithLink</a></li><li><a href="global.html#replyWithText">replyWithText</a></li><li><a href="global.html#saveResults">saveResults</a></li><li><a href="global.html#sendNotificationMessage">sendNotificationMessage</a></li><li><a href="global.html#startRedis">startRedis</a></li><li><a href="global.html#urbanToHTML">urbanToHTML</a></li></ul>
</nav>

<br class="clear">

<footer>
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.2</a> on Sat Jan 27 2024 02:27:59 GMT+0000 (Coordinated Universal Time)
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.2</a> on Mon Jan 29 2024 14:07:25 GMT+0000 (Coordinated Universal Time)
</footer>

<script> prettyPrint(); </script>
Expand Down
4 changes: 2 additions & 2 deletions docs/jsdoc/ChatGPT.ContextNode.html
Original file line number Diff line number Diff line change
Expand Up @@ -1295,13 +1295,13 @@ <h5>Parameters:</h5>
</div>

<nav>
<h2><a href="index.html">Home</a></h2><h3>Namespaces</h3><ul><li><a href="ChatGPT.html">ChatGPT</a></li></ul><h3>Classes</h3><ul><li><a href="ChatGPT.ChatGPTHandler.html">ChatGPTHandler</a></li><li><a href="ChatGPT.ContextNode.html">ContextNode</a></li><li><a href="ChatGPT.ContextTree.html">ContextTree</a></li><li><a href="TelegramClient.html">TelegramClient</a></li><li><a href="global.html#TelegramInteraction">TelegramInteraction</a></li></ul><h3>Global</h3><ul><li><a href="global.html#answerCallback">answerCallback</a></li><li><a href="global.html#bot">bot</a></li><li><a href="global.html#callback">callback</a></li><li><a href="global.html#clearNotification">clearNotification</a></li><li><a href="global.html#commonizeContext">commonizeContext</a></li><li><a href="global.html#commonizeInteraction">commonizeInteraction</a></li><li><a href="global.html#del">del</a></li><li><a href="global.html#editNotificationMessage">editNotificationMessage</a></li><li><a href="global.html#encodeCallbackData">encodeCallbackData</a></li><li><a href="global.html#fizzbuzz">fizzbuzz</a></li><li><a href="global.html#generateAPICall">generateAPICall</a></li><li><a href="global.html#get">get</a></li><li><a href="global.html#getAhegaoUrl">getAhegaoUrl</a></li><li><a href="global.html#getBest">getBest</a></li><li><a href="global.html#getCallbackData">getCallbackData</a></li><li><a href="global.html#getDiscordNotification">getDiscordNotification</a></li><li><a href="global.html#getGamesFromRedis">getGamesFromRedis</a></li><li><a href="global.html#getList">getList</a></li><li><a href="global.html#getPresenceNotification">getPresenceNotification</a></li><li><a href="global.html#getRedis">getRedis</a></li><li><a href="global.html#getUrbanDefinition">getUrbanDefinition</a></li><li><a href="global.html#gh">gh</a></li><li><a href="global.html#handleCallback">handleCallback</a></li><li><a href="global.html#handleCommand">handleCommand</a></li><li><a href="global.html#handler">handler</a></li><li><a href="global.html#help">help</a></li><li><a href="global.html#html">html</a></li><li><a href="global.html#isSimilar">isSimilar</a></li><li><a href="global.html#listingMenuCallback">listingMenuCallback</a></li><li><a href="global.html#parseArgs">parseArgs</a></li><li><a href="global.html#parseCallbackData">parseCallbackData</a></li><li><a href="global.html#pinNotificationMessage">pinNotificationMessage</a></li><li><a href="global.html#replaceWithLink">replaceWithLink</a></li><li><a href="global.html#replyWithText">replyWithText</a></li><li><a href="global.html#saveResults">saveResults</a></li><li><a href="global.html#sendNotificationMessage">sendNotificationMessage</a></li><li><a href="global.html#set">set</a></li><li><a href="global.html#startRedis">startRedis</a></li><li><a href="global.html#urbanToHTML">urbanToHTML</a></li><li><a href="global.html#used">used</a></li><li><a href="global.html#voice">voice</a></li><li><a href="global.html#ytdl">ytdl</a></li></ul>
<h2><a href="index.html">Home</a></h2><h3>Namespaces</h3><ul><li><a href="ChatGPT.html">ChatGPT</a></li><li><a href="Telegram.html">Telegram</a></li><li><a href="Telegram.Commands.html">Commands</a></li><li><a href="Telegram.Commands.Utils.html">Utils</a></li><li><a href="Telegram.Commands.deep.html">deep</a></li><li><a href="Telegram.Commands.fizzbuzz.html">fizzbuzz</a></li><li><a href="Telegram.Commands.get.html">get</a></li><li><a href="Telegram.Commands.gh.html">gh</a></li><li><a href="Telegram.Commands.help.html">help</a></li><li><a href="Telegram.Commands.html.html">html</a></li><li><a href="Telegram.Commands.html#.info">info</a></li><li><a href="Telegram.Commands.roundit.html">roundit</a></li><li><a href="Telegram.Commands.t.html">t</a></li><li><a href="Telegram.Commands.tldr.html">tldr</a></li><li><a href="Telegram.Commands.voice.html">voice</a></li><li><a href="Telegram.Commands.webapp.html">webapp</a></li><li><a href="Telegram.Commands.ytdl.html">ytdl</a></li></ul><h3>Classes</h3><ul><li><a href="ChatGPT.ChatGPTHandler.html">ChatGPTHandler</a></li><li><a href="ChatGPT.ContextNode.html">ContextNode</a></li><li><a href="ChatGPT.ContextTree.html">ContextTree</a></li><li><a href="TelegramClient.html">TelegramClient</a></li><li><a href="global.html#TelegramInteraction">TelegramInteraction</a></li></ul><h3>Global</h3><ul><li><a href="global.html#answerCallback">answerCallback</a></li><li><a href="global.html#bot">bot</a></li><li><a href="global.html#callback">callback</a></li><li><a href="global.html#clearNotification">clearNotification</a></li><li><a href="global.html#commonizeContext">commonizeContext</a></li><li><a href="global.html#commonizeInteraction">commonizeInteraction</a></li><li><a href="global.html#editNotificationMessage">editNotificationMessage</a></li><li><a href="global.html#encodeCallbackData">encodeCallbackData</a></li><li><a href="global.html#generateAPICall">generateAPICall</a></li><li><a href="global.html#getAhegaoUrl">getAhegaoUrl</a></li><li><a href="global.html#getCallbackData">getCallbackData</a></li><li><a href="global.html#getDiscordNotification">getDiscordNotification</a></li><li><a href="global.html#getGamesFromRedis">getGamesFromRedis</a></li><li><a href="global.html#getPresenceNotification">getPresenceNotification</a></li><li><a href="global.html#getRedis">getRedis</a></li><li><a href="global.html#getUrbanDefinition">getUrbanDefinition</a></li><li><a href="global.html#handleCallback">handleCallback</a></li><li><a href="global.html#handleCommand">handleCommand</a></li><li><a href="global.html#handler">handler</a></li><li><a href="global.html#listingMenuCallback">listingMenuCallback</a></li><li><a href="global.html#parseCallbackData">parseCallbackData</a></li><li><a href="global.html#pinNotificationMessage">pinNotificationMessage</a></li><li><a href="global.html#replaceWithLink">replaceWithLink</a></li><li><a href="global.html#replyWithText">replyWithText</a></li><li><a href="global.html#saveResults">saveResults</a></li><li><a href="global.html#sendNotificationMessage">sendNotificationMessage</a></li><li><a href="global.html#startRedis">startRedis</a></li><li><a href="global.html#urbanToHTML">urbanToHTML</a></li></ul>
</nav>

<br class="clear">

<footer>
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.2</a> on Sat Jan 27 2024 02:27:59 GMT+0000 (Coordinated Universal Time)
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.2</a> on Mon Jan 29 2024 14:07:25 GMT+0000 (Coordinated Universal Time)
</footer>

<script> prettyPrint(); </script>
Expand Down
4 changes: 2 additions & 2 deletions docs/jsdoc/ChatGPT.ContextTree.html
Original file line number Diff line number Diff line change
Expand Up @@ -1754,13 +1754,13 @@ <h5>Returns:</h5>
</div>

<nav>
<h2><a href="index.html">Home</a></h2><h3>Namespaces</h3><ul><li><a href="ChatGPT.html">ChatGPT</a></li></ul><h3>Classes</h3><ul><li><a href="ChatGPT.ChatGPTHandler.html">ChatGPTHandler</a></li><li><a href="ChatGPT.ContextNode.html">ContextNode</a></li><li><a href="ChatGPT.ContextTree.html">ContextTree</a></li><li><a href="TelegramClient.html">TelegramClient</a></li><li><a href="global.html#TelegramInteraction">TelegramInteraction</a></li></ul><h3>Global</h3><ul><li><a href="global.html#answerCallback">answerCallback</a></li><li><a href="global.html#bot">bot</a></li><li><a href="global.html#callback">callback</a></li><li><a href="global.html#clearNotification">clearNotification</a></li><li><a href="global.html#commonizeContext">commonizeContext</a></li><li><a href="global.html#commonizeInteraction">commonizeInteraction</a></li><li><a href="global.html#del">del</a></li><li><a href="global.html#editNotificationMessage">editNotificationMessage</a></li><li><a href="global.html#encodeCallbackData">encodeCallbackData</a></li><li><a href="global.html#fizzbuzz">fizzbuzz</a></li><li><a href="global.html#generateAPICall">generateAPICall</a></li><li><a href="global.html#get">get</a></li><li><a href="global.html#getAhegaoUrl">getAhegaoUrl</a></li><li><a href="global.html#getBest">getBest</a></li><li><a href="global.html#getCallbackData">getCallbackData</a></li><li><a href="global.html#getDiscordNotification">getDiscordNotification</a></li><li><a href="global.html#getGamesFromRedis">getGamesFromRedis</a></li><li><a href="global.html#getList">getList</a></li><li><a href="global.html#getPresenceNotification">getPresenceNotification</a></li><li><a href="global.html#getRedis">getRedis</a></li><li><a href="global.html#getUrbanDefinition">getUrbanDefinition</a></li><li><a href="global.html#gh">gh</a></li><li><a href="global.html#handleCallback">handleCallback</a></li><li><a href="global.html#handleCommand">handleCommand</a></li><li><a href="global.html#handler">handler</a></li><li><a href="global.html#help">help</a></li><li><a href="global.html#html">html</a></li><li><a href="global.html#isSimilar">isSimilar</a></li><li><a href="global.html#listingMenuCallback">listingMenuCallback</a></li><li><a href="global.html#parseArgs">parseArgs</a></li><li><a href="global.html#parseCallbackData">parseCallbackData</a></li><li><a href="global.html#pinNotificationMessage">pinNotificationMessage</a></li><li><a href="global.html#replaceWithLink">replaceWithLink</a></li><li><a href="global.html#replyWithText">replyWithText</a></li><li><a href="global.html#saveResults">saveResults</a></li><li><a href="global.html#sendNotificationMessage">sendNotificationMessage</a></li><li><a href="global.html#set">set</a></li><li><a href="global.html#startRedis">startRedis</a></li><li><a href="global.html#urbanToHTML">urbanToHTML</a></li><li><a href="global.html#used">used</a></li><li><a href="global.html#voice">voice</a></li><li><a href="global.html#ytdl">ytdl</a></li></ul>
<h2><a href="index.html">Home</a></h2><h3>Namespaces</h3><ul><li><a href="ChatGPT.html">ChatGPT</a></li><li><a href="Telegram.html">Telegram</a></li><li><a href="Telegram.Commands.html">Commands</a></li><li><a href="Telegram.Commands.Utils.html">Utils</a></li><li><a href="Telegram.Commands.deep.html">deep</a></li><li><a href="Telegram.Commands.fizzbuzz.html">fizzbuzz</a></li><li><a href="Telegram.Commands.get.html">get</a></li><li><a href="Telegram.Commands.gh.html">gh</a></li><li><a href="Telegram.Commands.help.html">help</a></li><li><a href="Telegram.Commands.html.html">html</a></li><li><a href="Telegram.Commands.html#.info">info</a></li><li><a href="Telegram.Commands.roundit.html">roundit</a></li><li><a href="Telegram.Commands.t.html">t</a></li><li><a href="Telegram.Commands.tldr.html">tldr</a></li><li><a href="Telegram.Commands.voice.html">voice</a></li><li><a href="Telegram.Commands.webapp.html">webapp</a></li><li><a href="Telegram.Commands.ytdl.html">ytdl</a></li></ul><h3>Classes</h3><ul><li><a href="ChatGPT.ChatGPTHandler.html">ChatGPTHandler</a></li><li><a href="ChatGPT.ContextNode.html">ContextNode</a></li><li><a href="ChatGPT.ContextTree.html">ContextTree</a></li><li><a href="TelegramClient.html">TelegramClient</a></li><li><a href="global.html#TelegramInteraction">TelegramInteraction</a></li></ul><h3>Global</h3><ul><li><a href="global.html#answerCallback">answerCallback</a></li><li><a href="global.html#bot">bot</a></li><li><a href="global.html#callback">callback</a></li><li><a href="global.html#clearNotification">clearNotification</a></li><li><a href="global.html#commonizeContext">commonizeContext</a></li><li><a href="global.html#commonizeInteraction">commonizeInteraction</a></li><li><a href="global.html#editNotificationMessage">editNotificationMessage</a></li><li><a href="global.html#encodeCallbackData">encodeCallbackData</a></li><li><a href="global.html#generateAPICall">generateAPICall</a></li><li><a href="global.html#getAhegaoUrl">getAhegaoUrl</a></li><li><a href="global.html#getCallbackData">getCallbackData</a></li><li><a href="global.html#getDiscordNotification">getDiscordNotification</a></li><li><a href="global.html#getGamesFromRedis">getGamesFromRedis</a></li><li><a href="global.html#getPresenceNotification">getPresenceNotification</a></li><li><a href="global.html#getRedis">getRedis</a></li><li><a href="global.html#getUrbanDefinition">getUrbanDefinition</a></li><li><a href="global.html#handleCallback">handleCallback</a></li><li><a href="global.html#handleCommand">handleCommand</a></li><li><a href="global.html#handler">handler</a></li><li><a href="global.html#listingMenuCallback">listingMenuCallback</a></li><li><a href="global.html#parseCallbackData">parseCallbackData</a></li><li><a href="global.html#pinNotificationMessage">pinNotificationMessage</a></li><li><a href="global.html#replaceWithLink">replaceWithLink</a></li><li><a href="global.html#replyWithText">replyWithText</a></li><li><a href="global.html#saveResults">saveResults</a></li><li><a href="global.html#sendNotificationMessage">sendNotificationMessage</a></li><li><a href="global.html#startRedis">startRedis</a></li><li><a href="global.html#urbanToHTML">urbanToHTML</a></li></ul>
</nav>

<br class="clear">

<footer>
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.2</a> on Sat Jan 27 2024 02:27:59 GMT+0000 (Coordinated Universal Time)
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.2</a> on Mon Jan 29 2024 14:07:25 GMT+0000 (Coordinated Universal Time)
</footer>

<script> prettyPrint(); </script>
Expand Down
Loading