You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 25, 2023. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,8 @@ Nodeogram is a simple yet complete Node.JS module for Telegram bots.
7
7
***Promises**. The entire library is promise-based
8
8
***Event based**. Nodeogram provides an event-based handling of updates, allowing you to interact more easily with messages, commands, callback and inline queries.
9
9
10
+
Nodeogram is an open-source project available on `GitHub <https://github.com/ALCC01/nodeogram>`_ and `npm <https://www.npmjs.com/package/nodeogram>`_.
:param string command: The command, without the opening /
45
-
:param string description: <String> The command's description, will be used for the /help message
46
-
:param function callback: <Function> This function will be called whenever the command is triggered with an array of arguments ``args`` along with the :doc:`Message` ``message`` responsible for triggering the command
47
+
:param string description: The command's description, will be used for the default /help message
48
+
:param boolean hidden: Set this to true in order to hide this command from the default /help message
49
+
:param function callback: This function will be called whenever the command is triggered with an array of arguments ``args`` along with the :doc:`Message` ``message`` responsible for triggering the command
47
50
48
51
Registers a command handler for the specified ``command``, with the provided ``description`` and ``callback``, also
0 commit comments