Versions in this module Expand all Collapse all v0 v0.1.0 Sep 26, 2022 Changes in this version + var Client *mongo.Client + func AcceptGame(channel string) error + func AcceptPlayer(channel string, user *discordgo.User) error + func AwaitingPlayer(channel string) (string, bool) + func CreateGameDocument(channel string, settings interface{}) error + func DeleteGameDocument(channel string) error + func GameIsAccepted(channel string) (bool, error) + func GameIsAcceptedBy(channel string, user *discordgo.User) (bool, error) + func GetCurrentPlayer(channel string) string + func GetGameDocument(channel string) (d.GameSettings, error) + func UpdateGameDocument(channel string, new interface{}) error