示例#1
0
        public async Task SetupTask(CommandContext ctx, string setting, string value)
        {
            switch (setting)
            {
            default:
                await ctx.RespondAsync("Invalid Setting Supplied");

                break;

            case "StreamChannel":
            case "VerifiedRole":
            case "StreamerRole":
            case "UlTest":
                await da.SetConfigInDb(ctx.Guild.Id, setting, biValue : ulong.Parse(value));

                await ctx.RespondAsync("Request Sent");

                break;
            }
        }