Exemple #1
0
 public async Task Remove_me(string Role)
 {
     if (Decisoes.Decidir_Single(Context.User))
     {
         var user = Context.User;
         var role = Context.Guild.Roles.FirstOrDefault(x => x.Name == Role);
         await(user as IGuildUser).RemoveRoleAsync(role);
         await Context.Channel.SendMessageAsync(Respostas.Aceitar_Resp(Context));
     }
     else
     {
         await Context.Channel.SendMessageAsync(Respostas.Rejeitar_Resp(Context));
     }
 }