Class SetRestartRequest
重启酷 Q,并以当前登录号自动登录(需勾选快速登录)
Namespace: cqhttp.Cyan.ApiCall.Requests
Assembly: cqhttp.Cyan.dll
Syntax
public class SetRestartRequest : ApiRequest
Constructors
| Improve this Doc View SourceSetRestartRequest(Boolean, Boolean, Boolean)
Declaration
public SetRestartRequest(bool clean_log, bool clean_cache, bool clean_event)
Parameters
Type | Name | Description |
---|---|---|
System. |
clean_log | 是否在重启时清空酷 Q 的日志数据库(logv1.db) |
System. |
clean_cache | 是否在重启时清空酷 Q 的缓存数据库(cache.db) |
System. |
clean_event | 是否在重启时清空酷 Q 的事件数据库(eventv2.db) |