BruhhBotV2.0 is a supergroup manager bot, based on Daniil's MadelineProto implementation for the Telegram Bot API
To begin using BruhhBot, you will first need to have PHP 7 installed, and set as the default (see below). You will also need php7.0-xml and php7.0-mbstring.
You will also need to register your account and retrieve your Telegram MTProto API and ID here
Install php and it's required extensions
sudo apt-get install -y composer php7.0 php7.0-common php7.0-mbstring php7.0-xml php7.0-bcmath php7.0-mcrypt php7.0-curl
To deploy BruhhBot, let's clone it to the computer we want to use it on
git clone --recursive https://github.com/hbashton/BruhhBot-Madeline.git -b bot-api
Create a .env file using the one provided as a template
Grab your Weather API key using DarkSky and place in the .env file
Obtain an API key from @BotFather
If you want to make your bot a little different than BruhhBot, or just want to play with the responses, you can make a file called custom_responses.json and place it in the root of the source, copying all the contents from responses.json and modifying them as you see fit.
Finally, deploy your bot
./init.sh
Q. What do the values in .env.example stand for?
Item | Type | Description |
---|---|---|
MTPROTO_SETTINGS |
(json) | Your API ID and HASH |
MASTER_USERNAME |
(string) | Your username |
SUDO |
(array) | An array of User ID's that are considered "sudo" users, and can control the bot with the same priveleges as the creator |
WEATHER_KEY |
(string) | Obtained from DarkSky |
BOT_TOKEN |
(string) | Your API token received from @BotFather |
BOT_API_USERNAME |
(string) | The username you assigned to your bot from @BotFather |
A. There's a good chance you formatted something wrong in the .env file. Try taking another look at the example I provided. If you think you followed the README 100%, go ahead and contact me for advice. My contact information is below.
For support, message @hunter_bruhh on telegram < (or just click the username as a shortcut)
- c9 - The cloud IDE everyone needs
- MadelineProto - What makes this whole project possible
This project is licensed under the GNU AFFERO GENERAL PUBLIC LICENSE License - see the LICENSE file for details
- @MSF-Jarvis thank you for your ideas, love, and support on the days I need it the most.
- @xdevs23 thank you for everything, as a fellow team member and friend without your support I couldn't do stuff like this
- @nicholaschum you push me to be the best I can be, and I can't begin to thank you.
- @danog OK yes I mentioned him as the handyman and as an author, but he needs an acknowledgement too. I LOVE YOU MAN!!!! WE DID GREAT