Initial commit
This commit is contained in:
6
.gitignore
vendored
Normal file
6
.gitignore
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
.env
|
||||
__pycache__
|
||||
logs/*
|
||||
*.log
|
||||
.log.
|
||||
|
||||
14
LICENSE
Normal file
14
LICENSE
Normal file
@@ -0,0 +1,14 @@
|
||||
Copyright (c) 2025, acidvegas acid.vegas@acid.vegas
|
||||
|
||||
Permission to use, copy, modify, and/or distribute this software for any purpose
|
||||
with or without fee is hereby granted, provided that the above copyright notice
|
||||
and this permission notice appear in all copies.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
||||
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
|
||||
FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
||||
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS
|
||||
OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
|
||||
TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF
|
||||
THIS SOFTWARE.
|
||||
|
||||
32
config.py
Normal file
32
config.py
Normal file
@@ -0,0 +1,32 @@
|
||||
#!/usr/bin/env python
|
||||
# IRC Relay Bot Configuration - developed by acidvegas in python (https://git.acid.vegas/pyrelay)
|
||||
|
||||
# Bot Configuration
|
||||
nickname = 'pyrelay'
|
||||
username = 'relay'
|
||||
realname = 'IRC Relay Bot'
|
||||
|
||||
# Relay Connection Defaults
|
||||
relay_nickname = 'relay'
|
||||
relay_username = 'relay'
|
||||
relay_realname = 'IRC Relay Bot'
|
||||
|
||||
# IRC Server Configuration
|
||||
server = 'irc.supernets.org'
|
||||
port = 6697
|
||||
channel = '#superbowl'
|
||||
password = None
|
||||
key = None
|
||||
|
||||
# Connection Options
|
||||
use_ssl = True
|
||||
use_ipv6 = False
|
||||
vhost = None
|
||||
|
||||
# Proxy Configuration (optional - only used when --proxy flag is specified in /connect command)
|
||||
proxy = 'user:pass@host:port' # Example: 'user:pass@127.0.0.1:1080'
|
||||
proxy_type = 'socks5' # Options: 'socks5', 'socks4', 'http'
|
||||
|
||||
# Bot Settings
|
||||
cmd_flood = 3
|
||||
admin_ident = 'user!ident@host'
|
||||
1096
pyrelay.py
Normal file
1096
pyrelay.py
Normal file
File diff suppressed because it is too large
Load Diff
3
requirements.txt
Normal file
3
requirements.txt
Normal file
@@ -0,0 +1,3 @@
|
||||
aiohttp>=3.8.0
|
||||
python-socks[asyncio]>=2.0.0
|
||||
|
||||
Reference in New Issue
Block a user