You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

entities.cs 281 B

1234567891011
  1. public string GetChannelTopic(ulong id)
  2. {
  3. var channel = client.GetChannel(81384956881809408) as SocketTextChannel;
  4. return channel?.Topic;
  5. }
  6. public SocketGuildUser GetGuildOwner(SocketChannel channel)
  7. {
  8. var guild = (channel as SocketGuildChannel)?.Guild;
  9. return guild?.Owner;
  10. }