Esempio n. 1
0
        //[RequireRoles(RoleCheckMode.Any, "Owner")]
        public async Task GetPI(CommandContext ctx, [Description("PI Code (example: 9201) ")] string PICode)
        {
            /* Trigger the Typing... in discord */
            await ctx.TriggerTypingAsync();

            string stations = await NetworkTools.FMListPICode(PICode);

            //Send the message
            await ctx.RespondAsync(stations).ConfigureAwait(false);
        }