discordapi

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2022 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const UserAgent = "AOE 4 Elo Bot/0.0.0 (github.com/alexisgeoffrey/aoe4elobot; alexisgeoffrey1@gmail.com)"

Variables

This section is empty.

Functions

func MessageCreate

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

MessageCreate is the handler for Discordgo MessageCreate events.

func UpdateAllElo

func UpdateAllElo(s *discordgo.Session, guildId string) (string, error)

UpdateAllElo retrieves and updates all Elo roles on the server specified by the guildId parameter. It returns an update message containing all changed Elo values for each server member.

Types

This section is empty.

Jump to

Keyboard shortcuts

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