plugins

package
v0.0.0-...-59c359b Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2024 License: GPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AkinatorPlugin

type AkinatorPlugin struct {
	// contains filtered or unexported fields
}

func Akinator

func Akinator(logger zerolog.Logger) *AkinatorPlugin

func (*AkinatorPlugin) Commands

func (*AkinatorPlugin) Description

func (a *AkinatorPlugin) Description() string

func (*AkinatorPlugin) Handlers

func (a *AkinatorPlugin) Handlers() map[string]any

func (*AkinatorPlugin) Intents

func (a *AkinatorPlugin) Intents() []discordgo.Intent

func (*AkinatorPlugin) Name

func (a *AkinatorPlugin) Name() string

type RpsPlugin

type RpsPlugin struct {
	// contains filtered or unexported fields
}

func Rps

func Rps(logger zerolog.Logger) *RpsPlugin

func (*RpsPlugin) Commands

func (r *RpsPlugin) Commands() map[string]*discordgo.ApplicationCommand

func (*RpsPlugin) Description

func (r *RpsPlugin) Description() string

func (*RpsPlugin) Handlers

func (r *RpsPlugin) Handlers() map[string]any

func (*RpsPlugin) Intents

func (r *RpsPlugin) Intents() []discordgo.Intent

func (*RpsPlugin) Name

func (r *RpsPlugin) Name() string

Jump to

Keyboard shortcuts

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