pneuma

package
v0.0.0-...-860483f Latest Latest
Warning

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

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

Documentation

Overview

Pneuma (Xenoblade Chronicles 2), the core component that actually handles events

Index

Constants

View Source
const (
	// EMBED_TITLE_LIMIT is the maximum length of an embed title
	EMBED_TITLE_LIMIT = 256
	// EMBED_DESCRIPTION_LIMIT is the maximum length of an embed description
	EMBED_DESCRIPTION_LIMIT = 4096
	// EMBED_FIELDS_MAX_COUNT is the maximum number of fields in an embed
	EMBED_FIELDS_MAX_COUNT = 25
	// EMBED_FIELD_NAME_LIMIT is the maximum length of an embed field name
	EMBED_FIELD_NAME_LIMIT = 256
	// EMBED_FIELD_VALUE_LIMIT is the maximum length of an embed field value
	EMBED_FIELD_VALUE_LIMIT = 1024
	// EMBED_FOOTER_TEXT_LIMIT is the maximum length of an embed footer text
	EMBED_FOOTER_TEXT_LIMIT = 2048
	// EMBED_AUTHOR_NAME_LIMIT is the maximum length of an embed author name
	EMBED_AUTHOR_NAME_LIMIT = 256
	// EMBED_TOTAL_LIMIT is the maximum length of an embed
	EMBED_TOTAL_LIMIT = 6000
)

Variables

This section is empty.

Functions

func HandleEvents

func HandleEvents(
	bodyBytes []byte,
	rw *events.RepoWrapper,
	repoId string,
	logId string,
	header string,
	webhookId string,
	guildId string,
)

Types

This section is empty.

Jump to

Keyboard shortcuts

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