newbie

package
v0.0.0-...-3a0e23c Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const MEMBERS_PER_REQUEST = 1000

一度に取得するメンバー数

Variables

This section is empty.

Functions

This section is empty.

Types

type NewbieManager

type NewbieManager interface {
	// 会員ロール変化時に新規会員ロールを操作するハンドラ
	MemberRoleUpdateHandler(s *discordgo.Session, m *discordgo.GuildMemberUpdate)
	// 新規会員ロールを更新
	RefreshNewbieRoles(s *discordgo.Session)
}

新規会員マネージャ

func NewNewbieManager

func NewNewbieManager(guildID, newbieRoleID, memberRoleID string, whiteRoleIDs []string, newbieDuration time.Duration) NewbieManager

新規会員マネージャを作成

Jump to

Keyboard shortcuts

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