Skip to content

strinking/sbot

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sbot

a discord bot

setup

set up an app at https://discordapp.com/developers/applications/me

pip3 install -r requirements.txt
cp config.yaml{.example,}
$EDITOR config.yaml
./sbot

code eval

make the nsjail directory a sibling of the pbot directory:

cd ..
git clone --recursive git://github.com/google/nsjail.git
cd nsjail
make

if /sys/fs/cgroup/memory doesn't exist:

sudo mkdir /sys/fs/cgroup/{memory,pids}
sudo mount -t cgroup memory -o memory /sys/fs/cgroup/memory
sudo mount -t cgroup pids -o pids /sys/fs/cgroup/pids

set up NSJAIL memory/pids cgroups:

sudo mkdir /sys/fs/cgroup/{memory,pids}/NSJAIL
sudo chown -R $USER: /sys/fs/cgroup/{memory,pids}/NSJAIL

EVE price checker

download sqlite-latest.sqlite.bz2 from https://www.fuzzwork.co.uk/dump/

bunzip2 sqlite-latest.sqlite.bz2

edit config.yaml so that eve_db is the filepath of the sqlite file

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.2%
  • TSQL 0.8%