class Vision::DiscordBot

Defined in:

vision/discord.cr

Constant Summary

CLIENT = Discord::Client.new(token: DISCORD_TOKEN, client_id: DISCORD_CLIENT_ID)
DISCORD_CLIENT_ID = ENV["DISCORD_CLIENT_ID"].to_u64
DISCORD_TOKEN = ENV["DISCORD_TOKEN"]
PREFIX = "!"

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new #

[View source]

Class Method Detail

def self.create_block_message(msg) #

[View source]
def self.send_result(channel_id, result) #

[View source]

Instance Method Detail

def get_help_message #

[View source]
def run #

[View source]