fix: remove debug fmt.Printlns
This commit is contained in:
parent
b9101e260b
commit
8df95a78ef
2 changed files with 0 additions and 6 deletions
|
@ -2,7 +2,6 @@ package db
|
|||
|
||||
import (
|
||||
"context"
|
||||
"fmt"
|
||||
"regexp"
|
||||
|
||||
"emperror.dev/errors"
|
||||
|
@ -100,8 +99,6 @@ func (db *DB) DiscordUser(ctx context.Context, discordID string) (u User, err er
|
|||
}
|
||||
|
||||
func (u *User) UpdateFromDiscord(ctx context.Context, db pgxscan.Querier, du *discordgo.User) error {
|
||||
fmt.Println(du.ID, du.String())
|
||||
|
||||
builder := sq.Update("users").
|
||||
Set("discord", du.ID).
|
||||
Set("discord_username", du.String()).
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue