handlers

package
v0.0.0-...-7404a93 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2023 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GatekeeperJoinHandler

func GatekeeperJoinHandler(s *discordgo.Session, gma *discordgo.GuildMemberAdd)

GatekeeperJoinHandler tracks when a user joins the guild via the GuildMemberAdd event

func GatekeeperMsgHandler

func GatekeeperMsgHandler(s *discordgo.Session, m *discordgo.MessageCreate)

GatekeeperMsgHandler tracks accepting or declining of server rules in the specified gatekeeper channel

func NicknameUpdateListener

func NicknameUpdateListener(s *discordgo.Session, gmu *discordgo.GuildMemberUpdate)

NicknameUpdateListener logs every member's nickname changes in the database.

func UserActivityTextChannel

func UserActivityTextChannel(s *discordgo.Session, m *discordgo.MessageCreate)

UserActivityTextChannel tracks when a user sends a message to a text channel

func UserActivityVoiceChannel

func UserActivityVoiceChannel(s *discordgo.Session, vsu *discordgo.VoiceStateUpdate)

UserActivityVoiceChannel tracks when users join or leave a voice channel

Types

This section is empty.

Jump to

Keyboard shortcuts

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