Merge branch 'master' of cybre.tech:chr/matrix-appservice-minecraft
This commit is contained in:
commit
b8aa7dd1e8
|
@ -47,10 +47,8 @@ def on_receive_events(transaction):
|
|||
m_user, m_cont
|
||||
if global_msg_queue is not None:
|
||||
global_msg_queue.add({
|
||||
"command",
|
||||
'/tellraw @a {"text":"<{}> {}","insertion":"/tellraw @p %s"}'.format(
|
||||
m_user, m_cont
|
||||
),
|
||||
"command":
|
||||
'/tellraw @a {"text":"<' + m_user + '> ' + m_cont + '","insertion":"/tellraw @p %s"}',
|
||||
})
|
||||
else:
|
||||
LOG.warning("No message queue available")
|
||||
|
|
Loading…
Reference in New Issue