Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove code duplication in ChannelVoiceJoin #611

Merged
merged 1 commit into from Nov 6, 2018
Merged

Remove code duplication in ChannelVoiceJoin #611

merged 1 commit into from Nov 6, 2018

Conversation

Hinara
Copy link
Contributor

@Hinara Hinara commented Nov 6, 2018

This PR remove the code duplication between ChannelVoiceJoin and ChannelVoiceJoinManual
The only drawback is that it get signaled twice in the log.
Shoud I put this part in a little private function called by both functions ?

@iopred iopred merged commit aca3f38 into bwmarrin:develop Nov 6, 2018
@Hinara Hinara deleted the duplication branch November 6, 2018 01:38
Bios-Marcel pushed a commit to Bios-Marcel/discordgo that referenced this pull request Jul 22, 2019
@bwmarrin bwmarrin added this to the v0.20.0 milestone Aug 27, 2019
ErikMcClure pushed a commit to ErikMcClure/discordgo that referenced this pull request Aug 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants