mirror of
https://github.com/evennia/evennia.git
synced 2026-03-28 02:36:32 +01:00
Add GMCP Client.GUI inputfunc to avoid issues with Mudlet
This commit is contained in:
parent
6306813370
commit
c9df89fade
1 changed files with 12 additions and 3 deletions
|
|
@ -610,9 +610,18 @@ def msdp_send(session, *args, **kwargs):
|
|||
# client specific
|
||||
|
||||
|
||||
def external_discord_hello(session, *args, **kwargs):
|
||||
def _not_implemented(session, *args, **kwargs):
|
||||
"""
|
||||
Sent by Mudlet as a greeting; added here to avoid
|
||||
logging a missing inputfunc for it.
|
||||
Dummy used to swallow missing-inputfunc errors for
|
||||
common clients.
|
||||
"""
|
||||
pass
|
||||
|
||||
|
||||
# GMCP External.Discord.Hello is sent by Mudlet as a greeting
|
||||
# (see https://wiki.mudlet.org/w/Manual:Technical_Manual)
|
||||
external_discord_hello = _not_implemented
|
||||
|
||||
|
||||
# GMCP Client.Gui is sent by Mudlet for gui setup.
|
||||
client_gui = _not_implemented
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue