abstract class Discord::DiscordPlugin

Direct Known Subclasses

Defined in:

discord_plugins/discord_plugin.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(name : String, commands : Set(String) = Set(String).new, passive : Bool = false) #

[View source]

Instance Method Detail

def commands : Set(String) #

[View source]
def execute(command, client, payload) #

[View source]
def name : String #

[View source]
def passive(client, payload) #

[View source]
def passive : Bool #

[View source]