(json: channeljson)
| 2034 | this.calculateReorder(); |
| 2035 | this.printServers(); |
| 2036 | return thischannel; |
| 2037 | } |
| 2038 | goToChannelDelay(id: string) { |
| 2039 | const channel = this.channels.find((_) => _.id == id); |
| 2040 | if (channel) { |
| 2041 | this.loadChannel(channel.id); |
| 2042 | } else { |
| 2043 | this.localuser.gotoid = id; |
| 2044 | } |
| 2045 | } |
| 2046 | createchannels(func = this.createChannel.bind(this)) { |
| 2047 | const options = (["text", "announcement", "voice", "forum"] as const).map((e) => |
| 2048 | I18n.channel[e](), |
| 2049 | ); |
| 2050 |
no test coverage detected