Interface ServerChannelBuilderDelegate

    • Method Detail

      • setAuditLogReason

        void setAuditLogReason​(String reason)
        Sets the reason for this creation. This reason will be visible in the audit log entry(s).
        Parameters:
        reason - The reason for this update.
      • setName

        void setName​(String name)
        Sets the name of the channel.
        Parameters:
        name - The name of the channel.
      • addPermissionOverwrite

        <T extends Permissionable & DiscordEntity> void addPermissionOverwrite​(T permissionable,
                                                                               Permissions permissions)
        Adds a permission overwrite for the given entity.
        Type Parameters:
        T - The type of entity to hold the permission, usually User or Role
        Parameters:
        permissionable - The entity whose permissions should be overwritten.
        permissions - The permission overwrites.
      • removePermissionOverwrite

        <T extends Permissionable & DiscordEntity> void removePermissionOverwrite​(T permissionable)
        Removes a permission overwrite for the given entity.
        Type Parameters:
        T - The type of entity to hold the permission, usually User or Role
        Parameters:
        permissionable - The entity whose permission overwrite should be removed.