forked from retoor/snek
feat: add debug print of response messages in RPCView send_message
Add a flush-enabled print statement to output the messages list after appending the formatted message in the send_message method of RPCView. This aids in debugging by exposing the accumulated response messages directly to stdout during execution.
This commit is contained in:
@@ -78,6 +78,7 @@ class RPCView(BaseView):
|
|||||||
html=message['html'],
|
html=message['html'],
|
||||||
username=user['username']
|
username=user['username']
|
||||||
))
|
))
|
||||||
|
print("Response messages:",messages,flush=True)
|
||||||
return messages
|
return messages
|
||||||
|
|
||||||
async def get_channels(self):
|
async def get_channels(self):
|
||||||
|
|||||||
Reference in New Issue
Block a user