public async Task leave(string serverName = null) { p.doAction(Context.User, Context.Guild.Id, Program.Module.Settings); if (Context.User.Id != Sentences.ownerId) { await ReplyAsync(Sentences.onlyMasterStr(Context.Guild.Id)); } else { if (serverName == null) { await Context.Guild.LeaveAsync(); } else { IGuild g = p.client.Guilds.ToList().Find(x => x.Name.ToUpper() == serverName.ToUpper()); if (g == null) { await ReplyAsync(Sentences.noCorrespondingGuild(Context.Guild.Id)); } else { await g.LeaveAsync(); await ReplyAsync(Sentences.doneStr(Context.Guild.Id)); } } } }