Table of Contents

Badge 相关接口

预声明变量

readonly KookSocketClient _socketClient = null;
readonly KookRestClient _restClient = null;

IGuild guild = null;

获取服务器 Badge

GET /api/v3/badge/guild

BadgeStyle style = default; // 样式

// API 请求
Stream badge = await guild.GetBadgeAsync(style);