2023-07-06 22:21:11 +00:00
|
|
|
package events
|
|
|
|
|
|
|
|
import (
|
|
|
|
"fmt"
|
|
|
|
|
|
|
|
"github.com/bwmarrin/discordgo"
|
|
|
|
"github.com/fatih/color"
|
|
|
|
)
|
|
|
|
|
|
|
|
func Ready(session *discordgo.Session, event *discordgo.Ready) {
|
|
|
|
fmt.Print("Logged in as: ")
|
2023-07-08 20:51:26 +00:00
|
|
|
color.Set(color.FgYellow)
|
|
|
|
fmt.Printf("%s (%s)\n", session.State.User.Username, session.State.User.ID)
|
|
|
|
color.Unset()
|
2023-07-06 22:21:11 +00:00
|
|
|
}
|