ignore unicode extended chars for now
This commit is contained in:
parent
d89b6e6d32
commit
75309dde80
1 changed files with 2 additions and 1 deletions
|
@ -51,7 +51,8 @@ class RtmBot(object):
|
||||||
if limiter == True:
|
if limiter == True:
|
||||||
time.sleep(1)
|
time.sleep(1)
|
||||||
limiter = False
|
limiter = False
|
||||||
channel.send_message("{}".format(output[1]))
|
message = output[1].encode('ascii','ignore')
|
||||||
|
channel.send_message("{}".format(message))
|
||||||
limiter = True
|
limiter = True
|
||||||
def crons(self):
|
def crons(self):
|
||||||
for plugin in self.bot_plugins:
|
for plugin in self.bot_plugins:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue