Exemplo n.º 1
0
        public async Task TagDelete(string name)
        {
            await _db.DeleteTagAsync(Context, name);

            await ReplyAsync("", embed : new EmbedBuilder()
            {
                Title       = $"Delete tag {name}",
                Color       = _settings.GetColor(),
                Description = $"Successfully deleted tag {name}",
            }.Build());
        }
Exemplo n.º 2
0
        public async Task DeleteAsync([Remainder] string name)
        {
            await _db.DeleteTagAsync(Context, name.ToLower());

            await ReplyAsync(":thumbsup:");
        }