mirror of
https://github.com/lyx0/nourybot.git
synced 2024-11-13 19:49:55 +01:00
add tweet command help text
This commit is contained in:
parent
e5560bb1ed
commit
a3e3ee129c
2 changed files with 5 additions and 2 deletions
|
@ -466,6 +466,7 @@ var helpText = map[string]string{
|
|||
"ping": "Hopefully returns a Pong! monkaS",
|
||||
"preview": "Returns a link to an (almost) live screenshot of a live channel. Alias: preview, thumbnail. Example usage: ()preview <channel>",
|
||||
"thumbnail": "Returns a link to an (almost) live screenshot of a live channel. Alias: preview, thumbnail. Example usage: ()thumbnail <channel>",
|
||||
"tweet": "Returns the latest tweet for a provided user. Example usage: ()tweet <username>",
|
||||
"seventv": "Returns the search URL for a given SevenTV emote. Aliases: seventv, 7tv. Example usage: ()seventv FeelsDankMan",
|
||||
"7tv": "Returns the search URL for a given SevenTV emote. Aliases: seventv, 7tv. Example usage: ()7tv FeelsDankMan",
|
||||
"weather": "Returns the weather for a given location. Example usage: ()weather Vilnius",
|
||||
|
|
|
@ -53,8 +53,9 @@ func main() {
|
|||
|
||||
// Initialize a new sugared logger that we'll pass on
|
||||
// down through the application.
|
||||
sugar := zap.NewExample().Sugar()
|
||||
defer sugar.Sync()
|
||||
logger := zap.NewExample()
|
||||
defer logger.Sync()
|
||||
sugar := logger.Sugar()
|
||||
|
||||
err := godotenv.Load()
|
||||
if err != nil {
|
||||
|
@ -75,6 +76,7 @@ func main() {
|
|||
case "prod":
|
||||
cfg.db.dsn = os.Getenv("SUPABASE_DSN")
|
||||
}
|
||||
|
||||
// Database config variables
|
||||
cfg.db.maxOpenConns = 25
|
||||
cfg.db.maxIdleConns = 25
|
||||
|
|
Loading…
Reference in a new issue