Пример #1
0
        public async Task CreateTag(string name, [Remainder] string text)
        {
            await _db.CreateTagAsync(Context, name, text, Context.Message.Attachments.FirstOrDefault()?.Url);

            await Tag(name);
        }
Пример #2
0
        public async Task CreateAsync(string name, [Remainder] string content)
        {
            await _db.CreateTagAsync(Context, name.ToLower(), content);

            await ReplyAsync(":thumbsup:");
        }