示例#1
0
        public async Task ApplyHelper(CommandContext ctx)
        {
            String name        = "app-helper-" + Tickets.GetTicketName(ctx.Member) + "-" + ctx.Member.Discriminator;
            var    Application = await ctx.Guild.CreateChannelAsync(name, ChannelType.Text, ctx.Guild.GetChannel(693523249237196821));

            await Application.AddOverwriteAsync(ctx.Member, Permissions.AccessChannels, Permissions.None);

            await Application.SendMessageAsync($"{ctx.Member.Mention}, thank you for applying for the Helper postion on Insanity. " +
                                               $"Please answer the following questions honestly.");

            await Application.SendMessageAsync($"1. How old are you?\n" +
                                               $"2. Were you in a staff position before?\n" +
                                               $"3. (Optional) If yes, where?\n" +
                                               $"4. Why do you want to be helper?");

            await Application.SendMessageAsync(ctx.Guild.GetRole(693559538720440340).Mention);
        }
示例#2
0
        public async Task ApplySmp(CommandContext ctx)
        {
            String name        = "app-smp-" + Tickets.GetTicketName(ctx.Member) + "-" + ctx.Member.Discriminator;
            var    Application = await ctx.Guild.CreateChannelAsync(name, ChannelType.Text, ctx.Guild.GetChannel(693523249237196821));

            await Application.AddOverwriteAsync(ctx.Member, Permissions.AccessChannels, Permissions.None);

            await Application.SendMessageAsync($"{ctx.Member.Mention}, thank you for applying for the Insanity SMP. " +
                                               $"Please answer the following questions honestly.");

            await Application.SendMessageAsync($"1. Did you ever play on a SMP before?\n" +
                                               $"2. Did you read the rules?\n" +
                                               $"3. What would you do if someone was to violate a rule?\n" +
                                               $"4. How old are you?\n" +
                                               $"5. Do you use either Bedrock Edition or a pirated copy (TLauncher, MCLeaks...)?\n" +
                                               $"6. Are you able to record evidence of rule breaking?\n" +
                                               $"7. What is your IGN?");

            await Application.SendMessageAsync($"{ctx.Guild.GetRole(693558842889470032).Mention}, {ctx.Member.Mention} is applying for the SMP. " +
                                               $"Please process their application.");
        }