package
0.2.0-devel
Repository: https://github.com/coyotan/jack-al.git
Documentation: pkg.go.dev

# README

JACK-AL Bot Component

Responsibilities:

Requirements

Coyotech JACK-AL Bot Framework requires the use of the following

  • Coyotech Logging
  • Coyotech Config
  • BWMarrin DiscordGo

Without these libraries, this file library will return critical errors.

Methods

    bot.Init(core *structs.CoreCfg)

The Init function provides the JACK-AL Bot Framework with the core configuration required to begin interacting with Discord. This function should only be called once.

    bot.GetInput() string

The GetInput function reads data in from the terminal and returns a trimmed version of the inputed string.

Error Codes

  • 100: Closed peacefully by JACK-AL Bot Framework
  • 101: Failure to open an active connection with Discord.

# Packages

No description provided by the author

# Functions

GetInput from the terminal.
Init accepts a pointer to the core of Jackal.