sm00th / bitlbee-discord

Bitlbee plugin for Discord (http://discordapp.com)
GNU General Public License v2.0
290 stars 27 forks source link

Add channel autojoining (off by default) #129

Closed mickael9 closed 6 years ago

mickael9 commented 6 years ago

Fixes #74

sm00th commented 6 years ago

Looks good, thanks again.

ghost commented 6 years ago

Tested this out with a fresh Bitlbee install. Seems to hang Bitlbee, hogging the CPU, and then times out, disconnecting me from Bitlbee. No issues when I disable auto_join in my config and then restart Bitlbee.

Possibly a scaling issue? I have 44 Discord servers and probably in excess of 500 channels.

dgw commented 6 years ago

Probably is a scaling issue with that many channels to auto-join, load users from, etc.

ghost commented 6 years ago

Could be helpful to be able to select auto_join on a per server basis.

sm00th commented 6 years ago

I have 44 Discord servers and probably in excess of 500 channels.

Autojoin was originally disabled because of cases like this.

Could be helpful to be able to select auto_join on a per server basis.

Take a look at auto_join_exclude, it can exclude whole servers.

ghost commented 6 years ago

Take a look at auto_join_exclude, it can exclude whole servers.

I saw this. Can it work both ways? Either by excluding specific servers, or including only the ones you want.

Thank you.

sm00th commented 6 years ago

It only works for excluding servers and I think it is enough for most users.