modcommands

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2020 License: AGPL-3.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BGC

func BGC(ctx *crouter.Ctx) (err error)

BGC is a combination command that runs UserInfo, Notes, and ModLogs for the specified user

func Ban

func Ban(ctx *crouter.Ctx) (err error)

Ban bans the specified user from the server

func Export

func Export(ctx *crouter.Ctx) (err error)

Export ...

func GkApprove

func GkApprove(ctx *crouter.Ctx) (err error)

GkApprove approves the given member, giving them the member roles

func Init

func Init(router *crouter.Router)

Init adds all the commands from this package to the router

func LogMute

func LogMute(ctx *crouter.Ctx) (err error)

LogMute adds a mute to the mute log

func MVC

func MVC(ctx *crouter.Ctx) (err error)

MVC gives the majority of the mvc role

func MajorityOf

func MajorityOf(ctx *crouter.Ctx) (err error)

MajorityOf gives the majority of the given number, with optional abstains

func ModLogs

func ModLogs(ctx *crouter.Ctx) (err error)

ModLogs shows the moderation logs for the specified user

func Warn

func Warn(ctx *crouter.Ctx) (err error)

Warn warns the specified member

Types

This section is empty.

Jump to

Keyboard shortcuts

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