gatekeeper

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: 16 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
	HCaptcha *hcaptcha.Client
}

Bot ...

func (*Bot) GatekeeperGET

func (bot *Bot) GatekeeperGET(w http.ResponseWriter, r *http.Request)

GatekeeperGET ...

func (*Bot) VerifyPOST

func (bot *Bot) VerifyPOST(w http.ResponseWriter, r *http.Request)

VerifyPOST ...

type PendingUser

type PendingUser struct {
	UserID  discord.UserID
	GuildID discord.GuildID

	Key     uuid.UUID
	Pending bool
}

PendingUser ...

type ServerSettings

type ServerSettings struct {
	ID             discord.GuildID
	MemberRole     discord.RoleID
	WelcomeChannel discord.ChannelID
	WelcomeMessage string
	GatekeeperLog  discord.ChannelID
}

ServerSettings ...

Jump to

Keyboard shortcuts

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