forked from bwmarrin/discordgo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Open() func now validates connection, fixed bwmarrin#198
Now the open function will follow through a bit more and insure that the proper sequence of events happens during the Open call. This required some refactoring and a few mild changes in the onEvent func.
- Loading branch information
Showing
1 changed file
with
124 additions
and
68 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