mirror

package
v0.0.0-...-e873abf Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2024 License: AGPL-3.0 Imports: 13 Imported by: 0

Documentation

Overview

SPDX-License-Identifier: AGPL-3.0-only

SPDX-License-Identifier: AGPL-3.0-only

SPDX-License-Identifier: AGPL-3.0-only

SPDX-License-Identifier: AGPL-3.0-only

SPDX-License-Identifier: AGPL-3.0-only

SPDX-License-Identifier: AGPL-3.0-only

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init(bot *bot.Bot) (s string, list []*bcr.Command)

Init ...

Types

type Bot

type Bot struct {
	*bot.Bot
	ModLog *modlog.ModLog
	// contains filtered or unexported fields
}

Bot ...

func (*Bot) ParseMember

func (bot *Bot) ParseMember(guildID discord.GuildID, s string) (c *discord.Member, err error)

ParseMember parses a member name, because Carl doesn't show IDs for some reason

func (*Bot) ParseUser

func (bot *Bot) ParseUser(state *state.State, s string) (u *discord.User, err error)

ParseUser finds a user by mention or ID

Jump to

Keyboard shortcuts

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