fix: fixed #117
This commit is contained in:
parent
236cf38814
commit
34f38d09e6
@ -106,7 +106,7 @@ class BaseItem:
|
|||||||
|
|
||||||
def send_client_message(self, msg):
|
def send_client_message(self, msg):
|
||||||
if self.bot:
|
if self.bot:
|
||||||
self.bot.send_msg(msg)
|
self.bot.send_channel_msg(msg) # TODO: this is way too ugly. It mixed up bot with items. Change it into exceptions in the future.
|
||||||
|
|
||||||
def to_dict(self):
|
def to_dict(self):
|
||||||
return {"type": self.type,
|
return {"type": self.type,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user