forked from Morphux/IRC-Bot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.py
27 lines (24 loc) · 879 Bytes
/
main.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#!/usr/bin/python
# -*- coding: utf8 -*-
# IRC MORPHUX BOT v2
# By: Louis <louis@ne02ptzero.me>
#18:09 @Ne02ptzero: !ascii CL4P_TP
#18:09 @CL4P_TP: _____ _ _ _ _____ _______ _____
#18:09 @CL4P_TP: / ____| | | || | | __ \ \__ __| __ \
#18:09 @CL4P_TP: | | | | | || |_| |__) | | | | |__) |
#18:09 @CL4P_TP: | | | | |__ _| ___/ | | | ___/
#18:09 @CL4P_TP: | |____| |____| | | | | | | |
#18:09 @CL4P_TP: \_____|______|_| |_| |_| |_|
#18:09 @CL4P_TP: ________
#18:09 @CL4P_TP: |________|
from morphux import Morphux
import time
import imp
import sys
# sys.setdefaultencoding() does not exist, here!
imp.reload(sys) # Reload does the trick!
#sys.setdefaultencoding('UTF8')
main = Morphux("config.json")
main.connect()
main.loadModules()
main.loop()