MLPUB: PHP

by spechide

GitHub Readme.md

@MLPUB

installing

The Easiest Way

there is no easy way (yet)

The Legacy Way

Simply clone the repository and run the main file:

git clone https://github.com/SpEcHiDe/MadeLineProtoUserBot.git
cd MadeLineProtoUserBot
# <Create config.php with variables as given below>
php web/index.php

An example config.php file could be:

<?php
$GLOBALS["APP_ID"] = 6;
$GLOBALS["API_HASH"] = "eb06d4abfb49dc3eeb1aeb98ae0f581e";
$GLOBALS["MLP_SESSION_NAME"] = "USER.madeline";
$GLOBALS["COMMAND_HANDLER"] = ".";