Esempio n. 1
0
 public async Task DestroyGang()
 {
     using (var db = new SQLite.Models.DbContext())
     {
         var gangRepo = new GangRepository(db);
         var gang     = await gangRepo.DestroyGangAsync(Context.User.Id, Context.Guild.Id);
         await ReplyAsync($"{Context.User.Mention}, You have successfully destroyed {gang.Name}.");
     }
 }
Esempio n. 2
0
        public async Task DestroyGang()
        {
            await _gangRepo.DestroyGangAsync(Context.GUser);

            await ReplyAsync($"You have successfully destroyed your gang.");
        }
Esempio n. 3
0
        public async Task DestroyGang()
        {
            var gang = await GangRepository.DestroyGangAsync(Context.User.Id, Context.Guild.Id);

            await ReplyAsync($"{Context.User.Mention}, You have successfully destroyed {gang.Name}.");
        }