reminders

package
v0.0.0-...-0abf00b Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2023 License: AGPL-3.0 Imports: 23 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 ...

func ParseTime

func ParseTime(args []string, loc *time.Location) (t time.Time, i int, err error)

ParseTime parses a timestamp in a number of formats

Types

type Bot

type Bot struct {
	*bot.Bot
}

Bot ...

type Reminder

type Reminder struct {
	ID        uint64
	UserID    discord.UserID
	MessageID discord.MessageID
	ChannelID discord.ChannelID
	ServerID  discord.GuildID

	Reminder string

	SetTime time.Time
	Expires time.Time

	ReminderInDM bool
}

Reminder ...

Jump to

Keyboard shortcuts

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