admin

package module
v0.0.0-...-c3f417f Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2020 License: MIT Imports: 9 Imported by: 0

README

plugin-admin

Administration plugin for Snart.

Documentation

Overview

Package admin is a Snart plugin which provides basic administration commands.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Prefix

func Prefix(d *db.DB) func(*route.Ctx) error

Prefix is a command that can change prefixes.

func Register

func Register(b *bot.Bot) error

Register adds admin's handlers to the given Bot.

func Restart

func Restart(interrupt chan bot.Interrupt) func(*route.Ctx) error

Restart is a command that restarts the Bot.

Types

This section is empty.

Jump to

Keyboard shortcuts

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