sm00th / bitlbee-discord

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

Default to channel names if server is not using alphanumeric characters #44

Open Kays opened 8 years ago

Kays commented 8 years ago

If a server name is not using alphanumeric characters, setting server_prefix_len results in the channels being named #chat_<3-digit-num>. In this case, it's better to default to channel name instead.

Example: I'm in a few servers that are using Japanese characters.

Reference: #10

tecknojock commented 8 years ago

Hmmm...odd that bitlbee doesnt support utf-8 Channel names. It'd be almost better if instead we move this upstream to them to add that in. Course a workaround might well be required in the mean time.

Kays commented 8 years ago

I think it's just the server name. If I try to create a channel with nonalphanumeric characters, hyphen, underscore, etc. it shows an error message.