This repository was archived by the owner on May 14, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Server Usage
Spectrollay edited this page Aug 13, 2024
·
12 revisions
简体中文 | English
Language translations may not be 100% accurate
Language translations may not be 100% accurate
from RyhBotPythonSDK import Server@Server.Message.Normal
def NormalHandle(data):
# Your Logic codes@Server.Message.Command
def CommandHandle(data):
# Your Logic codes@Server.Message.BotFollowed
def BotFollowedHandle(data):
# Your Logic codes@Server.Message.BotUnFollowed
def BotUnFollowedHandle(data):
# Your Logic codes@Server.Message.BotSettings
def BotSettingsHandle(data):
# Your Logic codes@Server.Message.GroupJoin
def GroupJoinHandle(data):
# Your Logic codes@Server.Message.GroupLeave
def GroupLeaveHandle(data):
# Your Logic codes# Your Logic codes
Server.Start(
host="Host"
port= Port #Int
debug= Yes (True) No (False) Enable debug mode #Bool
)Developer: Runoneall
Translator: Spectrollay
This document is written by English and 简体中文.
English
本文档由English和简体中文编写。
简体中文