Skip to content

Commit

Permalink
Remove unused errors
Browse files Browse the repository at this point in the history
  • Loading branch information
apricotbucket28 committed Feb 18, 2025
1 parent 84c71ee commit 26b598e
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions discord/errors.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,24 +12,13 @@ var (
ErrGatewayAlreadyConnected = errors.New("gateway is already connected")
ErrShardNotConnected = errors.New("shard is not connected")
ErrShardNotFound = errors.New("shard not found in shard manager")
ErrGatewayCompressedData = errors.New("disgo does not currently support compressed gateway data")
ErrNoHTTPServer = errors.New("no http server configured")

ErrNoDisgoInstance = errors.New("no disgo instance injected")

ErrInvalidBotToken = errors.New("token is not in a valid format")
ErrNoBotToken = errors.New("please specify the token")

ErrSelfDM = errors.New("can't open a dm channel to yourself")

ErrInteractionAlreadyReplied = errors.New("you already replied to this interaction")
ErrInteractionExpired = errors.New("this interaction has expired")

ErrChannelNotTypeNews = errors.New("channel type is not 'NEWS'")

ErrCheckFailed = errors.New("check failed")

ErrMemberMustBeConnectedToChannel = errors.New("the member must be connected to the channel")

ErrStickerTypeGuild = errors.New("sticker type must be of type StickerTypeGuild")
)

0 comments on commit 26b598e

Please # to comment.