Commit Graph
7 Commits
Author SHA1 Message Date
neko404notfound ff3b43c2e6 Removed package-lock, gitignored. 2018-06-21 09:24:41 +01:00
neko404notfound dd3fd2ea68 Added .gitattributes 2018-06-21 09:23:31 +01:00
neko404notfound 8d579f5bb3 Changed CRLF to LF, passed over code with black to normalise formatting. 2018-06-21 09:21:54 +01:00
neko404notfound 76f7e0c36e Requirements and traps.
Requirements file was missing five requirements. This might be useful to
have fixed, so I sorted that out.
    - opuslib
    - youtube_dl
    - asyncpg
    - PyNaCl
    - dataclasses

Made the sebi_machine_launcher.sh executable only under the current
owner.

Added a SIGINT trap to sebi_machine_launcher.sh. You are only restarting
while the bot returns a non-truthy exit code (i.e. non zero). SIGINT,
which triggers the Python KeyboardInterrupt builtin exception being
raised will, if unhandled, result in a non-zero exit code. Thus, if you
provide a keyboard interrupt, you will just have the bot instantly
respawn. This is fine until you have a one second lag over SSH. Then my
wrist starts to hurt from spamming CTRL-C so many times until the bot
process dies.
2018-06-20 17:51:25 +01:00
Espy ae6cd84004 Merge branch 'development' of https://github.com/Annihilator708/Sebi-Machine into development 2018-05-27 10:31:20 +01:00
Espy eb15ae74cb Merge branch 'davfsa-master' into development 2018-05-27 10:30:37 +01:00
Espy 1534a34f38 Merge branch 'master' of https://github.com/davfsa/Sebi-Machine into davfsa-master 2018-05-27 10:30:09 +01:00