mirror of
https://github.com/abocn/TelegramBot.git
synced 2025-03-10 04:39:57 +00:00
Update README.md
This commit is contained in:
parent
be6c0dc497
commit
6183cbe829
11
README.md
11
README.md
@ -24,16 +24,11 @@ Next, inside the repository directory, go to props folder and create a config.js
|
||||
- **botToken**: Put your bot token that you created at [@BotFather](https://t.me/botfather), as the example above.
|
||||
- **admins**: Put the ID of the people responsible for managing the bot (as the example above). They can use some administrative + exclusive commands on any group.
|
||||
|
||||
To deal with dependencies, just run ``npm install`` or ``npm i`` at any moment to install any of them.
|
||||
|
||||
After editing the file, save all changes and run the bot with ``npm start``.
|
||||
- To deal with dependencies, just run ``npm install`` or ``npm i`` at any moment to install any of them.
|
||||
|
||||
## Notes
|
||||
- The source code itself of the bot is at ``src/main.js``, and the commands are in ``src/commands``.
|
||||
- You can edit this file and the ``package.json`` file as your needs.
|
||||
- The name of the command file will always be the command itself.
|
||||
- Example: ``whois.js`` will always be ``/whois`` on Telegram.
|
||||
- Also, to see your changes, please restart the bot before making a issue.
|
||||
## Note
|
||||
- Take care of your ``config.json`` file, as it is so much important and needs to be secret (like your passwords), as anyone can do whatever they want to the bot with this token!
|
||||
|
||||
## About/License
|
||||
MIT - 2024 Lucas Gabriel (lucmsilva).
|
||||
|
Loading…
x
Reference in New Issue
Block a user