<commit_before>﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web;

namespace SlashTodo.Web.Api
{
    public class SlashCommandResponseTexts : ISlashCommandResponseTexts
    {
        private const string NewLine = "\n";

        public string UnknownCommand(SlashCommand command)
        {
            throw new NotImplementedException();
        }

        public string UsageInstructions(SlashCommand command)
        {
            var builder = new StringBuilder();
            builder.AppendFormat("*Usage instructions for {0}*{1}", command.Command, NewLine);
            builder.AppendFormat("`{0}` Show task list (to yourself only).{1}", command.Command, NewLine);
            builder.AppendFormat("`{0} show` Show task list to everyone in the channel.{1}", command.Command, NewLine);
            builder.AppendFormat("`{0} add [description]` Add a task.{1}", command.Command, NewLine);
            builder.AppendFormat("`{0} remove [id] [--force]` Remove the task with id [id].{1}", command.Command, NewLine);
            builder.AppendFormat("`{0} tick [id] [--force]` Mark the task with id [id] as completed.{1}", command.Command, NewLine);
            builder.AppendFormat("`{0} untick [id]` Mark the task with id [id] as not completed.{1}", command.Command, NewLine);
            builder.AppendFormat("`{0} claim [id] [--force]` Take ownership of the task with id [id].{1}", command.Command, NewLine);
            builder.AppendFormat("`{0} free [id] [--force]` Release ownership of the task with id [id].{1}", command.Command, NewLine);
            builder.AppendFormat("`{0} trim` Remove all completed tasks.{1}", command.Command, NewLine);
            builder.AppendFormat("`{0} clear [--force]` Remove all tasks.{1}", command.Command, NewLine);
            builder.AppendFormat("`{0} help` Show these instructions.{1}", command.Command, NewLine);
            builder.Append(NewLine);
            builder.AppendFormat("Claiming a task prevents others from ticking or removing it. ");<commit_msg>Response text for unknown command.<commit_after>﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web;

namespace SlashTodo.Web.Api
{
    public class SlashCommandResponseTexts : ISlashCommandResponseTexts
    {
        private const string NewLine = "\n";

        public string UnknownCommand(SlashCommand command)
        {
            return string.Format("Unknown command. Use `{0} help` for instructions.", command.Command);
        }

        public string UsageInstructions(SlashCommand command)
        {
            var builder = new StringBuilder();
            builder.AppendFormat("*Usage instructions for {0}*{1}", command.Command, NewLine);
            builder.AppendFormat("`{0}` Show task list (to yourself only).{1}", command.Command, NewLine);
            builder.AppendFormat("`{0} show` Show task list to everyone in the channel.{1}", command.Command, NewLine);
            builder.AppendFormat("`{0} add [description]` Add a task.{1}", command.Command, NewLine);
            builder.AppendFormat("`{0} remove [id] [--force]` Remove the task with id [id].{1}", command.Command, NewLine);
            builder.AppendFormat("`{0} tick [id] [--force]` Mark the task with id [id] as completed.{1}", command.Command, NewLine);
            builder.AppendFormat("`{0} untick [id]` Mark the task with id [id] as not completed.{1}", command.Command, NewLine);
            builder.AppendFormat("`{0} claim [id] [--force]` Take ownership of the task with id [id].{1}", command.Command, NewLine);
            builder.AppendFormat("`{0} free [id] [--force]` Release ownership of the task with id [id].{1}", command.Command, NewLine);
            builder.AppendFormat("`{0} trim` Remove all completed tasks.{1}", command.Command, NewLine);
            builder.AppendFormat("`{0} clear [--force]` Remove all tasks.{1}", command.Command, NewLine);
            builder.AppendFormat("`{0} help` Show these instructions.{1}", command.Command, NewLine);
            builder.Append(NewLine);
            builder.AppendFormat("Claiming a task prevents others from ticking or removing it. ");
{'fraction_non_alphanumeric': 0.13802950975725845, 'fraction_numerical': 0.011661113755354594, 'mean_word_length': 3.2368951612903225, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3827767', 'n_tokens_mistral': 1154, 'n_tokens_neox': 1147, 'n_words': 356}