class Discord::SaucenaoPlugin
- Discord::SaucenaoPlugin
- Discord::DiscordPlugin
- Reference
- Object
Defined in:
discord_plugins/saucenao.crConstructors
Instance Method Summary
- #construct_embed(sauce : Saucenao::Parser, url : String, limit : Int32 = 2, threshold : Float64 = 0) : Embed | Nil
- #get_sauce(url : URI | String) : Saucenao::Parser | Nil
- #passive(client, payload)
Instance methods inherited from class Discord::DiscordPlugin
commands : Set(String)
commands,
execute(command, client, payload)
execute,
name : String
name,
passive(client, payload)passive : Bool passive
Constructor methods inherited from class Discord::DiscordPlugin
new(name : String, commands : Set(String) = Set(String).new, passive : Bool = false)
new
Constructor Detail
Instance Method Detail
def construct_embed(sauce : Saucenao::Parser, url : String, limit : Int32 = 2, threshold : Float64 = 0) : Embed | Nil
#