<commit_before>package ratt

import (
       "github.com/fabioxgn/go-bot"
       "math/rand"
       "regexp"
)

var (
	re = regexp.MustCompile("(?i)\\b(ratt)\\b")
	ratt_lyrics = []string {
		    "What goes around comes around",
		    "Dance dance dance",
		    "Round and round",
		    "You should know, by now",
		    }
)

func ratt(command *bot.PassiveCmd) (string, err) {
     if re.MatchString(command.Raw) {
     	return ratt_lyrics[rand.Intn(len(ratt_lyrics))], nil
	}
	return "", nil
}

func init() {
     bot.RegisterCommand("ratt", "Spouts out lyrics from the band Ratt")
}<commit_msg>Formatting<commit_after>package ratt

import (
	"github.com/fabioxgn/go-bot"
	"math/rand"
	"regexp"
)

var (
	re          = regexp.MustCompile("(?i)\\b(ratt)\\b")
	ratt_lyrics = []string{
		"What goes around comes around",
		"Dance dance dance",
		"Round and round",
		"You should know, by now",
	}
)

func ratt(command *bot.PassiveCmd) (string, err) {
	if re.MatchString(command.Raw) {
		return ratt_lyrics[rand.Intn(len(ratt_lyrics))], nil
	}
	return "", nil
}

func init() {
	bot.RegisterCommand("ratt", "Spouts out lyrics from the band Ratt")
}
{'fraction_non_alphanumeric': 0.15586690017513136, 'fraction_numerical': 0.0, 'mean_word_length': 3.3295454545454546, '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': '2300274', 'n_tokens_mistral': 455, 'n_tokens_neox': 426, 'n_words': 98}