class StardewBot::Interpreter

Defined in:

interpreter.cr

Constant Summary

PREFIX = "!"
SEEKER = StardewBot::Seeker.new
WHITESPACE = " "

Constructors

Instance Method Summary

Constructor Detail

def self.new(discord_client : Discord::Client) #

[View source]

Instance Method Detail

def interpret(message : String, channel_id : Discord::Snowflake) #

[View source]
def mount_embed_message(item : StardewBot::Item) : Discord::Embed #

[View source]
def reply(message : Discord::Embed, channel_id : Discord::Snowflake) #

[View source]
def reply(message : String, channel_id : Discord::Snowflake) #

[View source]
def resolve_command(command : String, search : String, channel_id : Discord::Snowflake) #

[View source]
def translate_sources(sources : Array(String)) : String #

[View source]