nitori

package
v2.1.8 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2021 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Overview

Package nitori contains information commonly used.

Index

Constants

This section is empty.

Variables

View Source
var Application *discordgo.Application

Application is the Discord application of the instance.

View Source
var Emojis = map[string]Emoji{}/* 3174 elements not displayed */

Emojis is a map of every single emoji to ever exist.

View Source
var Exit = make(chan int)

Exit is used to exit.

View Source
var InviteURL string

InviteURL contains the invite URL of the bot.

View Source
var Multiplexer = multiplexer.New()

Multiplexer is the Discord event multiplexer.

View Source
var Reincarnation string

Reincarnation contains data used by the next incarnation.

View Source
var Session, _ = discordgo.New()

Session is a session without sharding.

View Source
var ShardSessions []*discordgo.Session

ShardSessions is the slice of sessions of each shard.

Functions

func Revision

func Revision() string

Revision returns the git revision of Nitori.

func Uptime

func Uptime() time.Duration

Uptime returns the duration the instance has been online.

func Version

func Version() string

Version returns the version of Nitori.

Types

type Emoji

type Emoji struct {
	Key        string
	Value      string
	Descriptor string
}

Emoji represents an emoji.

Jump to

Keyboard shortcuts

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