Migrate deployment to Gitea Actions and Portainer

This commit is contained in:
2026-03-22 11:43:22 -08:00
parent 1bb20a3c16
commit 3e3d7de9f1
24 changed files with 259 additions and 136 deletions
+4 -1
View File
@@ -4,7 +4,7 @@ import (
"database/sql"
"log"
"github.com/dustinpianalto/geeksbot"
"gitea.wayfinderak.com/wayfinderak/geeksbot"
)
type channelService struct {
@@ -50,6 +50,9 @@ func (s channelService) GuildChannels(g geeksbot.Guild) ([]geeksbot.Channel, err
var channels []geeksbot.Channel
queryString := "SELECT id FROM channels WHERE guild_id = $1"
rows, err := s.db.Query(queryString, g.ID)
if err != nil {
return channels, err
}
for rows.Next() {
var id string
err = rows.Scan(&id)