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

Fix channel ID problem with multiple gateways (discord). Fixes #953 #977

Merged
merged 1 commit into from
Jan 9, 2020

Conversation

42wim
Copy link
Owner

@42wim 42wim commented Jan 9, 2020

Remove global boolean that caused the issue and return channel with ID if we have so in our config.

@42wim 42wim added this to the 1.16.4 milestone Jan 9, 2020
@codeclimate
Copy link

codeclimate bot commented Jan 9, 2020

Code Climate has analyzed commit 8d9bec3 and detected 0 issues on this pull request.

The test coverage on the diff in this pull request is 0.0% (50% is the threshold).

This pull request will bring the total coverage in the repository to 10.1% (0.0% change).

View more on Code Climate.

@42wim 42wim merged commit 4c44515 into master Jan 9, 2020
@42wim 42wim deleted the fix-953 branch January 9, 2020 22:54
@qaisjp
Copy link
Collaborator

qaisjp commented Jan 10, 2020

If a Discord guild has multiple channels with the same name (but different IDs), I think this might not work

@42wim
Copy link
Owner Author

42wim commented Jan 10, 2020

Didn't even know that was possible, but it seems it actually is.
Well, that setup isn't supported then, they'll have to use ID's if they have 2 channels with the same name.

@qaisjp
Copy link
Collaborator

qaisjp commented Jan 10, 2020

I misread the code. I thought it was converting IDs into channel names, but it's not doing that. All is ok

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.

2 participants