package
Version:
v0.0.0-...-938fafe
Opens a new window with list of versions in this module.
Published: Aug 30, 2022
License: GPL-3.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func CheckAndAddPlayerAcc(userID int, db *sql.DB)
Adds a player if player is not already in DB
func PopulateDictDB(db *sql.DB)
Populates game_dictionary with all the playable words
db = variable with opened database
Creates tables used by the bot
db = variable with the opened database
type Player struct {
XPPoints int
GamesWon int
GamesLost int
LastPlayed string
}
Retrieves user information
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.