by cytolytic
enum Cmds
{
Kick, // used for kicking the user that you reply to
Help, // shows the help menu
Ping, // does a quick speed test
Del, // deletes the message that you reply to
Admins, // lists the admins in the group
Pin, // pin the message that you reply to
Leave, // leaves the group the function was called on
GSI, // makes an erfan gsi
SH, // does a bash command
Info, // gets the information of the user that you replyto
}
first of all you need to have rust installed! you can install it here here
now you'll need to setup some environment variables
// for windows
set TELOXIDE_TOKEN=<your token here>
set OWNER_ID=<your own telegram id>
//anything else
export TELOXIDE_TOKEN=<your token here>
export OWNER_ID=<your own telegram id>
now follow thees setps
git clone https://github.com/aktham3210/Rust-5X
cd Rust-5X
cargo run