Browse Source

Renaming variable to match the new type

pull/1671/head
Paulo 4 years ago
parent
commit
dd026bf6b5
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/Discord.Net.WebSocket/Entities/Invites/SocketInvite.cs

+ 1
- 1
src/Discord.Net.WebSocket/Entities/Invites/SocketInvite.cs View File

@@ -34,7 +34,7 @@ namespace Discord.WebSocket
case ICategoryChannel categoryChannel: return ChannelType.Category; case ICategoryChannel categoryChannel: return ChannelType.Category;
case IDMChannel dmChannel: return ChannelType.DM; case IDMChannel dmChannel: return ChannelType.DM;
case IGroupChannel groupChannel: return ChannelType.Group; case IGroupChannel groupChannel: return ChannelType.Group;
case INewsChannel socketNewsChannel: return ChannelType.News;
case INewsChannel newsChannel: return ChannelType.News;
case ITextChannel textChannel: return ChannelType.Text; case ITextChannel textChannel: return ChannelType.Text;
default: throw new InvalidOperationException("Invalid channel type."); default: throw new InvalidOperationException("Invalid channel type.");
} }


Loading…
Cancel
Save