public async Task AddTag(string t, int index) { if (!Looter.AddTag(t, index)) { await ReplyAsync($"ne"); return; } await ReplyAsync("okay"); }
public async Task AddTags(string t, params int[] indices) { if (!await RequireUser(Roles.Memer)) { return; } if (indices == null || indices.Length < 1) { await ReplyAsync("keine indizes angegeben"); return; } int c = 0; foreach (var x in indices) { if (Looter.AddTag(t, x)) { c++; } } await ReplyAsync($"{c} tags hinzugefügt"); }