This commit is contained in:
Terry Geng 2020-03-31 10:54:24 +08:00
parent 236cf38814
commit 34f38d09e6

View File

@ -106,7 +106,7 @@ class BaseItem:
def send_client_message(self, msg):
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):
return {"type": self.type,