static

package
v1.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 29, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// Self holds the bot user and gets initialized on the bot startup
	Self *discordgo.User

	// StartupTime holds the time when the bot started
	StartupTime time.Time
)
View Source
var (
	// Mode defines whether or not the bot runs in production mode
	Mode = "dev"

	// Version defines the version string of the current instance
	Version = "dev"

	// MongoDatabase defines the MongoDB database name
	MongoDatabase = "asterisk"

	// HastebinURL defines the URL of the hastebin instance to use
	HastebinURL = "https://hasteb.in/"

	// RTeXURL defines the URL of the rTeX API to use
	RTeXURL = "https://rtex.probablyaweb.site/api/v2"

	// MathJSURL defines the URL of the MathJS API to use
	MathJSURL = "http://api.mathjs.org/v4/"

	// LaTeXTemplate defines the template to use for LaTeX expression rendering
	LaTeXTemplate = "" /* 237-byte string literal not displayed */

	// IntervalRegexString defines the RegEx an interval has to match
	IntervalRegexString = "(\\[|\\()(\\d+),\\s*(\\d+)(\\]|\\))"
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL