DevConsole: New IRC Client interface
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
sugardir = $(pkgdatadir)/services/console/interface/irc_client
|
||||
sugar_PYTHON = \
|
||||
__init__.py \
|
||||
irc_client.py
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
from irc_client import Interface
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
import purk
|
||||
|
||||
class Interface(object):
|
||||
def __init__(self):
|
||||
client = purk.Client()
|
||||
client.show()
|
||||
client.join_server('irc.freenode.net')
|
||||
self.widget = client.get_widget()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user