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

No servers or channels visible #103

Open
vargn opened this issue Aug 7, 2022 · 9 comments
Open

No servers or channels visible #103

vargn opened this issue Aug 7, 2022 · 9 comments

Comments

@vargn
Copy link

vargn commented Aug 7, 2022

Out of nowhere servers and channels no longer autojoins. Running /discord connect says it's Already connected. Tried joining servers and channels, but there's no tab completion, and no buffers appear. I've tried re-installing several times.

But, when I receive a DM a buffer will open, but there's no visible message. Discord token works fine with other third party cli clients. Any ideas on what could be causing this?

@Lertsenem
Copy link

Same issue here. I thought that was just me, but Discord probably introduced some breaking changes.

That was using master though, maybe it works better with mk3?

@omdv
Copy link

omdv commented Sep 14, 2022

Observing the same situation. I just installed it, so don't have baseline of this working before.

@vargn
Copy link
Author

vargn commented Nov 4, 2022

I see that weechat-discord-git AUR package got updated on 2022-07-03 and it no longer depends on openssl-1.0. Though there's no commit about this here on github? I don't remember the exact date for when I started seeing this issue, but it was around this time for sure. Is this somehow related?

@Noskcaj19
Copy link
Member

I did not know there was an AUR package, so I'm not sure what the openssl comment there is about, but it's not related to this breakage.

This breakage is caused by some change in Discords API responses. The main branch uses a very old Serenity version and so I'm fairly surprised it's worked for as long as it has.

This sort of breakage happens with some frequency and usually it only requires fairly minor changes to the library however I don't have the time to look into the issue right now and as I don't really use Discord anymore, it's really tiring trying to keep up with Discords constant changes.

@vargn
Copy link
Author

vargn commented Nov 4, 2022

https://aur.archlinux.org/packages/weechat-discord-git

Okay I understand. So the mk3 branch is still functional then?

@Noskcaj19
Copy link
Member

The mk3 branch is indeed still functional. Unfortunately I never got around to making the mk3 commands very easy to use..

@vargn
Copy link
Author

vargn commented Nov 5, 2022

Ok, since I'm a noob I couldn't make the installation work with mk3 last I tried. But it sounds like I've gotta try it again. Thanks for the quick responses

Edit: I managed to install it this time lol. Sorry for using this as support. But how do I join discord channels on mk3, it doesn't seem to work with /discord join guild channel

@Lertsenem
Copy link

Lertsenem commented Jan 6, 2023

Edit: I managed to install it this time lol. Sorry for using this as support. But how do I join discord channels on mk3, it doesn't seem to work with /discord join guild channel

You need to first load the plugin /plugin load weecord.so, and configure it with your authentication token.

Once this is done, you'll have to /discord server add <myserver> to add each the discord guilds you want (tab completion available). You can then use /discord server autoconnect <myserver> so you won't have to redo it every time you restart weechat.

Next is /discord channel join <myserver> <mychannel> to add the chans you want from your guild. You can also /discord channel autojoin <myserver> <mychannel>, like for the servers.

@vargn
Copy link
Author

vargn commented Jan 7, 2023

Thank you for this, I've managed to load the plugin and update my token. But I can't add servers. discord: must be connected to add servers and /discord connect doesn't seem to work as it did on master branch. I've tried typing /discord and use TAB to autocomplete and connect doesn't exist. So how do I connect?

EDIT: Sorry, just figured out that /plugin reload weecord solved it. Again, thank you helping me with this.

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

4 participants