<commit_before>package seabird

import (
	"strings"

	"bitbucket.org/belak/irc"
	"bitbucket.org/belak/seabird/bot"
)

func init() {
	bot.RegisterPlugin("chanops", NewChanOpsPlugin)
}

type ChanOpsPlugin struct{}

func NewChanOpsPlugin(b *bot.Bot) (bot.Plugin, error) {
	p := &ChanOpsPlugin{}
	b.Command("join", "[channel]", p.Join)
	b.Command("part", "", p.Part)<commit_msg>Register the !say command<commit_after>package seabird

import (
	"strings"

	"bitbucket.org/belak/irc"
	"bitbucket.org/belak/seabird/bot"
)

func init() {
	bot.RegisterPlugin("chanops", NewChanOpsPlugin)
}

type ChanOpsPlugin struct{}

func NewChanOpsPlugin(b *bot.Bot) (bot.Plugin, error) {
	p := &ChanOpsPlugin{}
	b.Command("join", "[channel]", p.Join)
	b.Command("part", "", p.Part)
	b.Command("say", "[dest] [message]", p.Say)
{'fraction_non_alphanumeric': 0.1826086956521739, 'fraction_numerical': 0.0, 'mean_word_length': 5.448, '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': '4454852', 'n_tokens_mistral': 322, 'n_tokens_neox': 307, 'n_words': 56}