mirror of
https://git.ugnet.gay/CrossTalk/azul.git
synced 2026-11-25 08:40:05 +00:00
- aliases are now handled properly in ABCH - removed final escargot leftovers (dev webconsole) - OSCAR etc. logging was not at log level debug - removed leftover debug code
18 lines
557 B
Python
18 lines
557 B
Python
from util.misc import Logger
|
|
|
|
from ..proto.snac import OSCARClient, OSCARContext, SNACMessage, Foodgroup, Subgroup
|
|
|
|
|
|
@Foodgroup(0x000B)
|
|
class StatsFoodgroup:
|
|
logger: Logger
|
|
|
|
@Subgroup(0x0003)
|
|
def report_events(self, client: OSCARClient, context: OSCARContext, message: SNACMessage) -> None:
|
|
self.logger.debug('[Client] STATS__REPORT_EVENTS')
|
|
|
|
# we don't really care for the info in the SNAC message's body for now, so just send
|
|
# a STATS__REPORT_ACK
|
|
self.logger.debug('[Server] STATS__REPORT_ACK')
|
|
client.send_snac(SNACMessage(0x000B, 0x0004))
|