Skip to content
This repository has been archived by the owner on Oct 14, 2021. It is now read-only.

Commit

Permalink
Added preparebot.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
ApertureDevelopment authored Oct 20, 2018
1 parent 5fb4c25 commit 018d44e
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions preparebot.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
echo "Some info before: this script will install some dependencies and needs sudo rights"
echo "If you have not installed sudo, please abort now and install it with 'apt-get install sudo'"
echo "If you encounter issues, report them here: https://github.com/Aperture-Development/DiscordAntiSelfbotSpam"
echo "-- DiscordAntiSelfbotSpam by Aperture Development - LICENCE: GNU General Public License v3.0 --"
sleep 15
sudo apt-get update && sudo apt-get upgrade
sudo apt-get install curl lua5.3 git
sudo useradd antispambot
cd /
sudo mkdir -p antispambot
cd antispambot
curl -L https://github.com/luvit/lit/raw/master/get-lit.sh | sudo sh
sudo chown -R antispambot:antispambot * .
sudo git init .
sudo git remote add origin https://github.com/Aperture-Development/DiscordAntiSelfbotSpam.git
sudo git pull origin master
sudo ./lit install SinisterRectus/discordia
echo "---------------------------------------------"
echo "In the next step, please enter your Bot token"
echo "---------------------------------------------"
sleep 5
sudo nano antispam.lua
sudo chown -R antispambot:antispambot * .
echo "---------------------------------------------------------------------------------------------------"
echo "Done! You can start your bot using './luvit antispam.lua'"
echo "For security reasons, you should run the bot as the user 'antispambot' ( created by the script )"
echo "To let it continue running in the background, install it as service or use screen"
echo "Thank you for using our script. - Aperture Development"
echo "---------------------------------------------------------------------------------------------------"

0 comments on commit 018d44e

Please sign in to comment.