class WebhookServer

Overview

Simple webhook server to handle callbacks from the API

Defined in:

webhook_server.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(discord_client : Discord::Client, port : Int32 = 8080) #

Instance Method Detail

def register_pending_request(request_id : String, channel_id : Discord::Snowflake, user_id : String, request_type : String) #

def start #

def stop #