Commit Graph
12 Commits
Author SHA1 Message Date
neko404notfound 4f5a1b518a Renamed src package to sebimachine.
- Gave the package a descriptive name.
- Passed over with black once more.
- Created setup.py to install dependencies.
- Updated author to reflect repo ownership to Dusty.
- Changed `git` command to use the __url__ attribute.
- Changed music to use ogg vorbis instead of mp3, purely for
    performance.
- Tried to make sure nothing broke.
- Updated dockerfile. Pretty sure we don't need it though...
2018-06-21 10:06:03 +01:00
neko404notfound 001d6aa0ac Removed execution permission. 2018-06-21 09:31:02 +01:00
neko404notfound 6b44995333 Readded dockerfile as heroku uses it apparently..? 2018-06-21 09:28:25 +01:00
neko404notfound 1a4af0c766 Updated .gitignore and removed docker stuff, since we are not using it. 2018-06-21 09:26:41 +01:00
neko404notfound 5a67f1c732 Fixed license in package.json 2018-06-21 09:25:29 +01:00
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