khyperia / weechat-discord

Unmaintained! And also apparently this is against their TOS so DON'T USE THIS -- Weechat plugin for Discord support - https://weechat.org/ https://discordapp.com/
MIT License
51 stars 24 forks source link

Only plugins.var.weecord.token shows up as an option #34

Closed FredrIQ closed 7 years ago

FredrIQ commented 7 years ago

Possibly other options aren't populated correctly?

khyperia commented 7 years ago

Please describe more what you mean by "shows up as an option", and what you mean by "populating correctly" - a clearly thought out and articulated issue report describing expected behavior, actual behavior, suggested fixes, etc., is essential in getting the problem resolved. With the title/description as-is, I assume this is a duplicate of #13 and am closing until otherwise notified. Please look at existing issues before reporting additional issues.

FredrIQ commented 7 years ago

13 is rather technical regarding weechat internals, so in case this is actually a duplicate, it definitely wasn't clear. With that said, 1bb57f0d640431598da0 claims to have added mute.(channel id) as options, populated automatically as you connect or discord sends an update. However, when i wanted to look at these options, using /set mute, the only options that showed up was iset.use_mute and fset.use_mute (weechat 2.0-dev iset equavilent-ish thing), so there didn't seem to be any such options. I also did /set plugins.var.weecord.*, the only option I got was .token. Hence this issue.

khyperia commented 7 years ago

Correct. The options are not registered, but dynamically checked (as weechat's config system is mostly just a big untyped bag of key->value dict of string->string). The options exist (see /help discord), just set them :)

The reason "only token shows up" is because that's the only one you have set. It "doesn't exist" either, if it were unset.