예제 #1
0
        public async Task GetAccountFile()
        {
            var userFilePath = GlobalUserAccounts.GetAccountFilePath(Context.User.Id);

            if (String.IsNullOrEmpty(userFilePath))
            {
                Context.Channel.SendMessageAsync("Nie znam Ciê, kim jesteœ???");
                return;
            }

            await Context.User.SendFileAsync(userFilePath, $"Masz tu, wszyystko...");

            await Context.Channel.SendMessageAsync($"{Context.User.Mention} **DM**es wys³any!");
        }
        public async Task GetAccountFile()
        {
            var userFilePath = GlobalUserAccounts.GetAccountFilePath(Context.User.Id);

            if (String.IsNullOrEmpty(userFilePath))
            {
                Context.Channel.SendMessageAsync("I don't have any information about you.");
                return;
            }

            await Context.User.SendFileAsync(userFilePath, $"This is all I got about you!");

            await Context.Channel.SendMessageAsync($"{Context.User.Mention} DM sent!");
        }