Update README.md

pull/1/head
AardCrowley 6 years ago committed by GitHub
parent 374f7254dd
commit c5a1a874aa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -18,7 +18,7 @@ Once he's been added, you'll simply type /newbot in order to create your first b
# Getting your Chat ID # Getting your Chat ID
The next step will be to get your chat ID. The easiest way I've found to do this is to send a test message in your new Bot channel, then go to the following page: https://api.telegram.org/bot&lt;token&gt;/getUpdates (where &lt;token&gt; is the token you got in the last step). Upon heading to the site, you'll see a JSON-formatted list of information. Look specifically for the table "chat", which has an "id" field. Copy that ID (including any negative symbols). The next step will be to get your chat ID. The easiest way I've found to do this is to send a test message in your new Bot channel, then go to the following page: https://api.telegram.org/bot<token>/getUpdates (where &lt;token&gt; is the token you got in the last step). Upon heading to the site, you'll see a JSON-formatted list of information. Look specifically for the table "chat", which has an "id" field. Copy that ID (including any negative symbols).
# Putting it all together # Putting it all together
@ -42,4 +42,4 @@ If you're wanting to add new triggers, locate the 'triggerLines' portion, and ad
{name = "&lt;name of your trigger&gt;", match = "&lt;the trigger pattern to match&gt;", message = "&lt;text you want sent&gt;"}, {name = "&lt;name of your trigger&gt;", match = "&lt;the trigger pattern to match&gt;", message = "&lt;text you want sent&gt;"},
As long as you follow that format, you should be able to add as many triggers as you like. If you have any questions or difficulties, please feel free to drop me (Crowley) a tell or a note on personal board. As long as you follow that format, you should be able to add as many triggers as you like. If you have any questions or difficulties, please feel free to drop me (Crowley) a tell or a note on personal board.

Loading…
Cancel
Save