mirror of
https://github.com/AynaLivePlayer/liveroom-sdk.git
synced 2026-03-15 05:53:18 +08:00
add imports
This commit is contained in:
@@ -3,6 +3,7 @@ package openblive
|
||||
import (
|
||||
"context"
|
||||
"errors"
|
||||
"github.com/AynaLivePlayer/liveroom-sdk"
|
||||
"github.com/AynaLivePlayer/liveroom-sdk/utils"
|
||||
openblive "github.com/aynakeya/open-bilibili-live"
|
||||
"strconv"
|
||||
|
||||
@@ -4,6 +4,7 @@ import (
|
||||
"errors"
|
||||
"github.com/AynaLivePlayer/blivedm-go/client"
|
||||
"github.com/AynaLivePlayer/blivedm-go/message"
|
||||
"github.com/AynaLivePlayer/liveroom-sdk"
|
||||
"github.com/AynaLivePlayer/liveroom-sdk/utils"
|
||||
"github.com/go-resty/resty/v2"
|
||||
"github.com/spf13/cast"
|
||||
|
||||
@@ -1,5 +1,9 @@
|
||||
package utils
|
||||
|
||||
import (
|
||||
"github.com/AynaLivePlayer/liveroom-sdk"
|
||||
)
|
||||
|
||||
func BilibiliGuardLevelToPrivilege(level int) int {
|
||||
switch level {
|
||||
case 1:
|
||||
|
||||
Reference in New Issue
Block a user