mirror of
https://github.com/a-bad-dev/irc2bash.git
synced 2026-06-09 00:51:32 +00:00
Merge branch 'main' into main
This commit is contained in:
commit
d189fdd5b1
3 changed files with 3 additions and 10 deletions
|
|
@ -1,4 +1,4 @@
|
||||||
# irc2bash
|
# irc2bash
|
||||||
A (poorly made) bridge between an IRC channel and the bash interpreter
|
A bridge between an IRC channel and the bash interpreter
|
||||||
|
|
||||||
**Ensure you run this in a sandboxed VM!**
|
**Ensure you run this in a sandboxed VM!**
|
||||||
|
|
|
||||||
8
TODO.md
8
TODO.md
|
|
@ -1,8 +0,0 @@
|
||||||
# TODO
|
|
||||||
|
|
||||||
- don't use os.system() and piping to a file for commands
|
|
||||||
- configuration file
|
|
||||||
- only allow certain users to run commands
|
|
||||||
- (maybe) windows support? (who doesn't want to destroy windows from an IRC channel)
|
|
||||||
- add code comments
|
|
||||||
- better handling of stdout/stdin
|
|
||||||
3
main.py
3
main.py
|
|
@ -312,7 +312,8 @@ class Server():
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
serv = Server("username", "nickname", "##channel", opper_nicknames = ["opperhere"])
|
serv = Server("username", "nickname", "##channel", opper_nicknames = ["opperhere"])
|
||||||
serv.connect("tantalum.libera.chat", 6667, sock_recvbuf = 8192)
|
serv.connect("IP", 6667, sock_recvbuf = 8192)
|
||||||
|
|
||||||
|
|
||||||
# Allow for the user to send raw IRC messages
|
# Allow for the user to send raw IRC messages
|
||||||
# These bypass the send queue
|
# These bypass the send queue
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue