👍️[Update] Main/Controller/Model/Config : VRC ChatBoxの通知音のON/OFFのエンドポイントを追加
This commit is contained in:
@@ -1099,6 +1099,20 @@ class Controller:
|
||||
model.setOscPort(config.OSC_PORT)
|
||||
return {"status":200, "result":config.OSC_PORT}
|
||||
|
||||
@staticmethod
|
||||
def getNotificationVrcSfx(*args, **kwargs) -> dict:
|
||||
return {"status":200, "result":config.NOTIFICATION_VRC_SFX}
|
||||
|
||||
@staticmethod
|
||||
def setEnableNotificationVrcSfx(*args, **kwargs) -> dict:
|
||||
config.NOTIFICATION_VRC_SFX = True
|
||||
return {"status":200, "result":config.NOTIFICATION_VRC_SFX}
|
||||
|
||||
@staticmethod
|
||||
def setDisableNotificationVrcSfx(*args, **kwargs) -> dict:
|
||||
config.NOTIFICATION_VRC_SFX = False
|
||||
return {"status":200, "result":config.NOTIFICATION_VRC_SFX}
|
||||
|
||||
@staticmethod
|
||||
def getDeepLAuthKey(*args, **kwargs) -> dict:
|
||||
return {"status":200, "result":config.AUTH_KEYS["DeepL_API"]}
|
||||
|
||||
Reference in New Issue
Block a user