db: Remove debug print statements

master
Luther Wen Xu 2020-05-11 14:03:18 +07:00
parent e52eb3a553
commit 41c8173c95
Signed by: chanbakjsd
GPG Key ID: B7D77E3E9D102B70
1 changed files with 0 additions and 4 deletions

@ -1,8 +1,6 @@
package db
import (
"fmt"
"github.com/jinzhu/gorm"
_ "github.com/jinzhu/gorm/dialects/sqlite"
)
@ -29,7 +27,6 @@ func Close() {
}
func CreateReactRole(messageID, emojiID, roleID string) {
fmt.Println("CreateReactRole", messageID, emojiID, roleID)
db.Create(&ReactRole{
MessageID: messageID,
EmojiID: emojiID,
@ -38,7 +35,6 @@ func CreateReactRole(messageID, emojiID, roleID string) {
}
func GetReactRole(messageID, emojiID string) string {
fmt.Println("GetReactRole", messageID, emojiID)
result := ReactRole{
MessageID: messageID,
EmojiID: emojiID,