timezonecompanion

package
v1.19.10 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2019 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const DBSchema = `` /* 501-byte string literal not displayed */

Variables

View Source
var CCToZones = map[string][]string{}/* 248 elements not displayed */
View Source
var CountryCodes = map[string]string{}/* 250 elements not displayed */

Functions

func FindZone

func FindZone(in string) []string

func GetUserTimezone

func GetUserTimezone(userID int64) *time.Location

func RegisterPlugin

func RegisterPlugin()

func StrZone

func StrZone(zone string) string

Types

type Plugin

type Plugin struct {
	DateParser *when.Parser
}

func (*Plugin) AddCommands

func (p *Plugin) AddCommands()

func (*Plugin) BotInit

func (p *Plugin) BotInit()

func (*Plugin) PluginInfo

func (p *Plugin) PluginInfo() *common.PluginInfo

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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