Skip to content

cytoo/Rust-5X

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rust-5X

a multi function telegram bot made in rust

by cytolytic

what commands does it have?

it includes but is not limited to:

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
}

how to set it up?

super easy to do!

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

and then you're good to go!. hope you enjoy it :)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published