Skip to content

Commit 70ae80a

Browse files
committed
v1.0.0
1 parent 023eda7 commit 70ae80a

17 files changed

Lines changed: 34 additions & 48 deletions

File tree

go.mod

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module antegr.al/chatanium-bot/v1
1+
module github.com/thirdscam/chatanium
22

33
go 1.23.2
44

@@ -8,16 +8,11 @@ require (
88
github.com/fatih/color v1.18.0
99
github.com/google/uuid v1.6.0
1010
github.com/joho/godotenv v1.5.1
11-
github.com/jonas747/dca v0.0.0-20210930103944-155f5e5f0cc7
12-
github.com/lrstanley/go-ytdlp v0.0.0-20241224003808-35d7acd8beab
1311
github.com/mattn/go-sqlite3 v1.14.24
1412
)
1513

1614
require (
17-
github.com/ProtonMail/go-crypto v1.1.3 // indirect
18-
github.com/cloudflare/circl v1.5.0 // indirect
1915
github.com/gorilla/websocket v1.5.3 // indirect
20-
github.com/jonas747/ogg v0.0.0-20161220051205-b4f6f4cf3757 // indirect
2116
github.com/mattn/go-colorable v0.1.13 // indirect
2217
github.com/mattn/go-isatty v0.0.20 // indirect
2318
golang.org/x/crypto v0.31.0 // indirect

go.sum

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
1-
github.com/ProtonMail/go-crypto v1.1.3 h1:nRBOetoydLeUb4nHajyO2bKqMLfWQ/ZPwkXqXxPxCFk=
2-
github.com/ProtonMail/go-crypto v1.1.3/go.mod h1:rA3QumHc/FZ8pAHreoekgiAbzpNsfQAosU5td4SnOrE=
31
github.com/bwmarrin/discordgo v0.27.1 h1:ib9AIc/dom1E/fSIulrBwnez0CToJE113ZGt4HoliGY=
42
github.com/bwmarrin/discordgo v0.27.1/go.mod h1:NJZpH+1AfhIcyQsPeuBKsUtYrRnjkyu0kIVMCHkZtRY=
5-
github.com/cloudflare/circl v1.5.0 h1:hxIWksrX6XN5a1L2TI/h53AGPhNHoUBo+TD1ms9+pys=
6-
github.com/cloudflare/circl v1.5.0/go.mod h1:uddAzsPgqdMAYatqJ0lsjX1oECcQLIlRpzZh3pJrofs=
73
github.com/fatih/color v1.18.0 h1:S8gINlzdQ840/4pfAwic/ZE0djQEH3wM94VfqLTZcOM=
84
github.com/fatih/color v1.18.0/go.mod h1:4FelSpRwEGDpQ12mAdzqdOukCy4u8WUtOY6lkT/6HfU=
95
github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0=
@@ -13,12 +9,6 @@ github.com/gorilla/websocket v1.5.3 h1:saDtZ6Pbx/0u+bgYQ3q96pZgCzfhKXGPqt7kZ72aN
139
github.com/gorilla/websocket v1.5.3/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE=
1410
github.com/joho/godotenv v1.5.1 h1:7eLL/+HRGLY0ldzfGMeQkb7vMd0as4CfYvUVzLqw0N0=
1511
github.com/joho/godotenv v1.5.1/go.mod h1:f4LDr5Voq0i2e/R5DDNOoa2zzDfwtkZa6DnEwAbqwq4=
16-
github.com/jonas747/dca v0.0.0-20210930103944-155f5e5f0cc7 h1:Iw1pZVDiq4tY8hO7Wt1D1EqDC0BmMw/bFO/Rdt4gs9Q=
17-
github.com/jonas747/dca v0.0.0-20210930103944-155f5e5f0cc7/go.mod h1:rxjYX9OJU81unMxQDHChU/lAiOhlY9MV+faPX/NmwLk=
18-
github.com/jonas747/ogg v0.0.0-20161220051205-b4f6f4cf3757 h1:Kyv+zTfWIGRNaz/4+lS+CxvuKVZSKFz/6G8E3BKKBRs=
19-
github.com/jonas747/ogg v0.0.0-20161220051205-b4f6f4cf3757/go.mod h1:cZnNmdLiLpihzgIVqiaQppi9Ts3D4qF/M45//yW35nI=
20-
github.com/lrstanley/go-ytdlp v0.0.0-20241224003808-35d7acd8beab h1:VwG2mJ+9TKxUm56Hgs4AQHIT7VK5VbBB6X0FA26Lev0=
21-
github.com/lrstanley/go-ytdlp v0.0.0-20241224003808-35d7acd8beab/go.mod h1:AZR2O62Xpq0LCSF3n29lvsE0GUkfsy19KmuiK4A/wWo=
2212
github.com/mattn/go-colorable v0.1.13 h1:fFA4WZxdEF4tXPZVKMLwD8oUnCTTo08duU7wxecdEvA=
2313
github.com/mattn/go-colorable v0.1.13/go.mod h1:7S9/ev0klgBDR4GtXTXX8a3vIGJpMovkB8vQcUbaXHg=
2414
github.com/mattn/go-isatty v0.0.16/go.mod h1:kYGgaQfpe5nmfYZH+SKPsOc2e4SrIfOl2e/yFXSvRLM=

main.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
package main
22

33
import (
4-
discord "antegr.al/chatanium-bot/v1/src/Backends/Discord"
5-
Database "antegr.al/chatanium-bot/v1/src/Database"
6-
util "antegr.al/chatanium-bot/v1/src/Util"
7-
"antegr.al/chatanium-bot/v1/src/Util/Log"
84
_ "github.com/joho/godotenv/autoload"
5+
discord "github.com/thirdscam/chatanium/src/Backends/Discord"
6+
Database "github.com/thirdscam/chatanium/src/Database"
7+
util "github.com/thirdscam/chatanium/src/Util"
8+
"github.com/thirdscam/chatanium/src/Util/Log"
99
)
1010

1111
func main() {

src/Backends/Discord/Database/Guild.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ import (
66
"log"
77
"time"
88

9-
db "antegr.al/chatanium-bot/v1/src/Database/Internal"
10-
util "antegr.al/chatanium-bot/v1/src/Util"
11-
"antegr.al/chatanium-bot/v1/src/Util/Log"
129
"github.com/bwmarrin/discordgo"
1310
"github.com/google/uuid"
11+
db "github.com/thirdscam/chatanium/src/Database/Internal"
12+
util "github.com/thirdscam/chatanium/src/Util"
13+
"github.com/thirdscam/chatanium/src/Util/Log"
1414
)
1515

1616
func RegisterGuild(client *discordgo.Session, dbconn *sql.DB, queries *db.Queries, id, ownerID string) {

src/Backends/Discord/Database/Message.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ import (
55
"database/sql"
66
"errors"
77

8-
db "antegr.al/chatanium-bot/v1/src/Database/Internal"
9-
util "antegr.al/chatanium-bot/v1/src/Util"
10-
"antegr.al/chatanium-bot/v1/src/Util/Log"
118
"github.com/bwmarrin/discordgo"
129
"github.com/fatih/color"
10+
db "github.com/thirdscam/chatanium/src/Database/Internal"
11+
util "github.com/thirdscam/chatanium/src/Util"
12+
"github.com/thirdscam/chatanium/src/Util/Log"
1313
)
1414

1515
func GetMessageInfo(queries *db.Queries, mid string) *db.Message {

src/Backends/Discord/Guild/Handle.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
package Guild
22

33
import (
4-
backendDB "antegr.al/chatanium-bot/v1/src/Backends/Discord/Database"
5-
"antegr.al/chatanium-bot/v1/src/Database"
6-
"antegr.al/chatanium-bot/v1/src/Util/Log"
74
"github.com/bwmarrin/discordgo"
5+
backendDB "github.com/thirdscam/chatanium/src/Backends/Discord/Database"
6+
"github.com/thirdscam/chatanium/src/Database"
7+
"github.com/thirdscam/chatanium/src/Util/Log"
88
)
99

1010
// Handle all events from guild.

src/Backends/Discord/Interface/Slash/Command.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,6 @@ var CommandMap Commands
1111
// get commands for guild from pre-defined commands and modules.
1212
func getCommands(guildId string) Commands {
1313
// TODO(Security): Support ACL
14+
_ = guildId
1415
return CommandMap
1516
}

src/Backends/Discord/Interface/Slash/Manager.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ import (
66
"reflect"
77
"slices"
88

9-
"antegr.al/chatanium-bot/v1/src/Util/Log"
109
"github.com/bwmarrin/discordgo"
10+
"github.com/thirdscam/chatanium/src/Util/Log"
1111
)
1212

1313
// Manager for slash commands.

src/Backends/Discord/Interface/Slash/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
package Slash
22

33
import (
4-
"antegr.al/chatanium-bot/v1/src/Util/Log"
54
"github.com/bwmarrin/discordgo"
5+
"github.com/thirdscam/chatanium/src/Util/Log"
66
)
77

88
// Handle for slash commands when user input

src/Backends/Discord/Module/main.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
package Module
22

33
import (
4-
"antegr.al/chatanium-bot/v1/src/Backends/Discord/Interface/Slash"
5-
module "antegr.al/chatanium-bot/v1/src/Module"
6-
"antegr.al/chatanium-bot/v1/src/Util/Log"
4+
"github.com/thirdscam/chatanium/src/Backends/Discord/Interface/Slash"
5+
module "github.com/thirdscam/chatanium/src/Module"
6+
"github.com/thirdscam/chatanium/src/Util/Log"
77
)
88

99
type DiscordModule struct {

0 commit comments

Comments
 (0)