-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
from #26 update dasgo fix missing GUILD_MEMBERS_CHUNK intents
- Loading branch information
1 parent
8f02b93
commit da09a8a
Showing
10 changed files
with
225 additions
and
229 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
type SessionManager struct { | ||
Gateway map[string]*Session | ||
Voice map[string]*Session | ||
All []*Session | ||
} | ||
--- | ||
type SessionManager struct { | ||
// Gateway represents a map of Discord Gateway (TCP WebSocket Connections) session IDs to Sessions. | ||
// map[ID]Session | ||
Gateway map[string]*Session | ||
|
||
// Voice represents a map of Discord Voice (UDP WebSocket Connection) session IDs to Sessions. | ||
// map[ID]Session | ||
Voice map[string]*Session | ||
|
||
// All contains a pointer to every session that is being managed. | ||
All []*Session | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.