restructure to be an actually usable package

master
BuildTools 3 years ago
parent 94aa977ab4
commit e7dba97bb7
  1. 0
      ircked/__init__.py
  2. 2
      ircked/bot.py
  3. 0
      ircked/message.py
  4. 3
      main.py

@ -1,5 +1,5 @@
import socket import socket
from message import * from ircked.message import *
def default_event_handler(msg, ctx): def default_event_handler(msg, ctx):
print("<<", str(msg)) print("<<", str(msg))
if msg.command == "PING": if msg.command == "PING":

@ -1,5 +1,4 @@
import socket from ircked.bot import bot
from bot import bot
dorfl = bot() dorfl = bot()
dorfl.connect_register("irc.rizon.net", 7000) dorfl.connect_register("irc.rizon.net", 7000)
Loading…
Cancel
Save