fix: channel names using category names instead
This commit is contained in:
parent
1d940b0f7d
commit
1b71d51629
1 changed files with 1 additions and 1 deletions
|
@ -159,7 +159,7 @@ namespace chord
|
||||||
{
|
{
|
||||||
if (channel.GetType().Name == "SocketTextChannel")
|
if (channel.GetType().Name == "SocketTextChannel")
|
||||||
{
|
{
|
||||||
var channelName = Regex.Replace(categories.Name, @"[^\u0000-\u007F]+", string.Empty);
|
var channelName = Regex.Replace(channel.Name, @"[^\u0000-\u007F]+", string.Empty);
|
||||||
var channelNode = new TreeNode(channelName);
|
var channelNode = new TreeNode(channelName);
|
||||||
channelNode.Tag = new { Id = channel.Id };
|
channelNode.Tag = new { Id = channel.Id };
|
||||||
|
|
||||||
|
|
Reference in a new issue