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

Support for multiple clients/accounts #56

Open
jhilker98 opened this issue Oct 14, 2021 · 5 comments
Open

Support for multiple clients/accounts #56

jhilker98 opened this issue Oct 14, 2021 · 5 comments

Comments

@jhilker98
Copy link

Hey there,

I've just set this up and I really like using it so far! Thanks for writing it.

I usually have 2 clients running with my 2 accounts (long story); would it be possible to set the elcord-client-id to a list to apply elcord to each client?

@Mstrodl
Copy link
Owner

Mstrodl commented Oct 14, 2021

Hey,
elcord-client-id is the Discord application (in this case elcord)'s client id. Maybe a flag could be set to try all 10 possible Discord clients? Either way, there would need to be a lot of reworking for this to work.

Actually, before this happens we really ought to actually perform the client search: https://github.com/Mstrodl/elcord/blob/master/elcord.el#L215-L216
If the user opens stable then PTB and closes stable, elcord will never discover PTB. When a new instance of Discord is started, Discord will allocate discord-ipc-N, with N starting at 0 and ending at 9.

@jhilker98
Copy link
Author

I could see something like that working.

@jhilker98
Copy link
Author

Sorry, I'm pretty new to Elisp as a whole, how should I go about setting up that flag?

@Zulu-Inuoe
Copy link
Collaborator

@jhilker1 This functionality would need to be developed, right now there's no flag that you'd be able to set.
And it's not a trivial ask

@jhilker98
Copy link
Author

jhilker98 commented Oct 14, 2021 via email

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

No branches or pull requests

3 participants