9 Commits

Author SHA1 Message Date
davfsa
0a4baee373 Merge branch 'development' of https://github.com/neko404notfound/Sebi-Machine into neko404notfound-development 2018-06-21 19:49:24 +02:00
nya~
e62845ade8
Git pulls after four consecutive crashes. 2018-06-21 18:35:17 +01:00
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
nya~
f6c4a5a570
Update (#1)
* Update sebi_machine_launcher.sh

* Update sebi_machine_launcher.sh

* Update requirements.txt

* removed numpy import

* Fixed a stupid typo.

* Fixed broken import someone didn't check.

* Updated bot_management.py

* Updated bot_management.py

* Update bot_management.py

* Update bot_management.py

* Update bot_management.py

* Added ban command

And changed the response because if you were talking without commas you would need to breathe heavily and and and and *huff*

* Update bot_management.py

* Aaa

wrong word lmao

* Update bot_management.py
2018-06-21 09:20:10 +01:00
neko404notfound
7f2f4a32ca
Fixed a stupid typo. 2018-06-20 18:39:47 +01:00
neko404notfound
becc2d3ade
Update sebi_machine_launcher.sh 2018-06-20 18:03:24 +01:00
neko404notfound
6b9a9cc968
Update sebi_machine_launcher.sh 2018-06-20 18:00:16 +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
Dustin Pianalto
3a76598766 Add wrapper script for easy restarts. 2018-06-14 10:18:40 -08:00