exe/cqhttp-dbus in CQHTTP-2.0.0 vs exe/cqhttp-dbus in CQHTTP-2.1.0
- old
+ new
@@ -66,15 +66,15 @@
else unknow
end
end
def message
- @obj.message @info['message_type'], @json
+ send_json :message
send_json @info['message_type']
end
def event
- @obj.event @info['event'], @json
+ send_json :event
send_json @info['event']
end
def request
case @info['request_type']