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.
|
- using System;
- using System.Collections.Generic;
- using System.Collections.Immutable;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
-
- namespace Discord
- {
- /// <summary>
- /// Represents install parameters for an application.
- /// </summary>
- public class ApplicationInstallParams
- {
- /// <summary>
- /// Gets the scopes to install this application.
- /// </summary>
- public IReadOnlyCollection<string> Scopes { get; }
-
- /// <summary>
- /// Gets the default permissions to install this application
- /// </summary>
- public GuildPermission? Permission { get; }
-
- internal ApplicationInstallParams(string[] scopes, GuildPermission? permission)
- {
- Scopes = scopes.ToImmutableArray();
- Permission = permission;
- }
- }
- }
|