Skip to content

about-tosu/anya

 
 

Repository files navigation

──「 Nothing Bot's 」──

License Python

─「 ᴅᴇᴩʟᴏʏ ᴏɴ ʜᴇʀᴏᴋᴜ 」─

─「 ᴅᴇᴩʟᴏʏ ᴏɴ ʟᴏᴄᴀʟ ʜᴏsᴛ/ ᴠᴘs 」─

Deploy on Railway

Deploy on Railway

sudo apt-get update && sudo apt-get upgrade -y

  • Install Ffmpeg by :

sudo apt-get install python3-pip ffmpeg -y

  • Install required packages by :

sudo apt-get install python3-pip -y

  • Install pip by :

sudo pip3 install -U pip

  • Install Node js by :

curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.38.0/install.sh | bash && source ~/.bashrc && nvm install v18

  • Clone the repository by :

git clone https://github.com/about-tosu/anya

cd tosu

  • Install requirements by :

pip3 install -U -r requirements.txt

  • Fill your variables in the env by :

vi sample.env


Press `I` on the keyboard for editing env
Press `Ctrl+C` when you're done with editing env and `:wq` to save the env
- Rename the env file by : - ```mv sample.env .env```
  • Install tmux to keep running your bot when you close the terminal by :

sudo apt install tmux && tmux

  • Finally run the bot by :

bash start

  • For getting out from tmux session : Press Ctrl+b and then d
    ━━━━━━━━━━━━━━━━━━━━

─「 sᴜᴩᴩᴏʀᴛ 」─

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.0%
  • Other 1.0%