<commit_before>import {
  APIApplicationCommandOption,
  APIInteraction,
  ApplicationCommandInteractionDataOptionString,
  ApplicationCommandOptionType,
  InteractionResponseType,
  MessageFlags,
} from "discord-api-types/v8";
import client from "../client";
import { respondToInteraction } from "../discord/api";
import { Command } from "../types";

class SayCommand implements Command {
  name = "say";
  description = "Make Shinoa say something";
  isOwnerOnly = true;
  options: APIApplicationCommandOption[] = [
    {
      name: "content",
      description: "What you want her to say.",
      type: ApplicationCommandOptionType.STRING,
    },
  ];

  async handle(interaction: APIInteraction) {
    const channel = await client.channels.fetch(interaction.channel_id);

    if (channel.isText()) {<commit_msg>fix: make option required<commit_after>import {
  APIApplicationCommandOption,
  APIInteraction,
  ApplicationCommandInteractionDataOptionString,
  ApplicationCommandOptionType,
  InteractionResponseType,
  MessageFlags,
} from "discord-api-types/v8";
import client from "../client";
import { respondToInteraction } from "../discord/api";
import { Command } from "../types";

class SayCommand implements Command {
  name = "say";
  description = "Make Shinoa say something";
  isOwnerOnly = true;
  options: APIApplicationCommandOption[] = [
    {
      name: "content",
      description: "What you want her to say.",
      type: ApplicationCommandOptionType.STRING,
      required: true,
    },
  ];

  async handle(interaction: APIInteraction) {
    const channel = await client.channels.fetch(interaction.channel_id);

    if (channel.isText()) {
{'fraction_non_alphanumeric': 0.10984393757503001, 'fraction_numerical': 0.0012004801920768306, 'mean_word_length': 4.2421383647798745, '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': '6395433', 'n_tokens_mistral': 463, 'n_tokens_neox': 458, 'n_words': 117}