module Shroom

Defined in:

shroom.cr
shroom/actions/act_on_message.cr
shroom/actions/act_on_ready.cr
shroom/commands/classify.cr
shroom/commands/drunksay.cr
shroom/commands/eight_ball.cr
shroom/commands/exchange.cr
shroom/commands/help.cr
shroom/commands/remind.cr
shroom/commands/shitpost.cr
shroom/config.cr

Class Method Summary

Class Method Detail

def self.act_on_message(client : Discord::Client, config : Config, classifier : Maschine::Bayes::BayesClassifier) #

[View source]
def self.act_on_ready(client : Discord::Client, config : Config) #

[View source]
def self.classify(client : Discord::Client, config : Config, message : Discord::Message, classifier : Maschine::Bayes::BayesClassifier) #

[View source]
def self.drunksay(client : Discord::Client, config : Config, channel_id : Discord::Snowflake) #

[View source]
def self.eight_ball(client : Discord::Client, config : Config, channel_id : Discord::Snowflake) #

[View source]
def self.exchange(client : Discord::Client, config : Config, message : Discord::Message) #

[View source]
def self.help(client : Discord::Client, config : Config, channel_id : Discord::Snowflake) #

[View source]
def self.remind(client : Discord::Client, config : Config, message : Discord::Message) #

[View source]
def self.run(config : Config) #

[View source]
def self.shitpost(client : Discord::Client, config : Config, channel_id : Discord::Snowflake) #

[View source]