Exemplo n.º 1
0
        public async Task Infos(params string[] command)
        {
            p.doAction(Context.User, Context.Guild.Id, Program.Module.Communication);
            IGuildUser user;

            if (command.Length == 0)
            {
                user = Context.User as IGuildUser;
            }
            else
            {
                user = await Program.GetUser(Program.addArgs(command), Context.Guild);

                if (user == null)
                {
                    await ReplyAsync(Sentences.userNotExist(Context.Guild.Id));

                    return;
                }
            }
            await InfosUser(user);
        }