Search Results for

    Show / Hide Table of Contents

    Class DiscordChannelExtensions

    Contains all the extensions methods for IDiscordChannel.

    Inheritance
    Object
    DiscordChannelExtensions
    Inherited Members
    System.Object.Equals(System.Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    Object.ToString()
    Namespace: Color_Chan.Discord.Core.Extensions
    Assembly: Color-Chan.Discord.Core.dll
    Syntax
    public static class DiscordChannelExtensions

    Methods

    | Improve this Doc View Source

    Mention(IDiscordChannel)

    Get a string mentioning a specific channel.

    Declaration
    public static string Mention(this IDiscordChannel channel)
    Parameters
    Type Name Description
    IDiscordChannel channel

    The IDiscordChannel that will be mentioned.

    Returns
    Type Description
    String

    A String containing the mentioned channel.

    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX