Update README.md

This commit is contained in:
Lucas Gabriel 2024-07-28 12:05:41 -03:00
parent be6c0dc497
commit 6183cbe829
No known key found for this signature in database
GPG Key ID: D9B075FC6DC93985

View File

@ -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).