Esempio n. 1
0
        public static async Task <RestGlobalCommand> CreateGlobalApplicationCommandAsync(BaseDiscordClient client, ApplicationCommandProperties properties,
                                                                                         RequestOptions options = null)
        {
            var model = await InteractionHelper.CreateGlobalCommandAsync(client, properties, options);

            return(RestGlobalCommand.Create(client, model));
        }