Misc: Create go module

master
Marc 2021-05-23 03:07:57 +01:00
parent 6c7cf8606a
commit d6eb1c79dc
No known key found for this signature in database
GPG Key ID: 0657563F705ACAAE
11 changed files with 20 additions and 9 deletions

View File

@ -13,7 +13,7 @@ import (
"syscall" "syscall"
"time" "time"
"github.com/bwmarrin/discord.go" "github.com/bwmarrin/discordgo"
) )
// Core Bot Properties // Core Bot Properties

View File

@ -2,7 +2,7 @@ package features
import ( import (
"errors" "errors"
discordgo "github.com/bwmarrin/discord.go" discordgo "github.com/bwmarrin/discordgo"
"log" "log"
"os" "os"
"strings" "strings"

View File

@ -2,7 +2,7 @@ package features
import ( import (
"errors" "errors"
discordgo "github.com/bwmarrin/discord.go" discordgo "github.com/bwmarrin/discordgo"
"github.com/foxtrot/scuzzy/models" "github.com/foxtrot/scuzzy/models"
"strings" "strings"
) )

View File

@ -2,7 +2,7 @@ package features
import ( import (
"errors" "errors"
"github.com/bwmarrin/discord.go" "github.com/bwmarrin/discordgo"
"log" "log"
"strconv" "strconv"
"strings" "strings"

View File

@ -1,7 +1,7 @@
package features package features
import ( import (
"github.com/bwmarrin/discord.go" "github.com/bwmarrin/discordgo"
"github.com/foxtrot/scuzzy/models" "github.com/foxtrot/scuzzy/models"
"time" "time"
) )

View File

@ -4,7 +4,7 @@ import (
"encoding/json" "encoding/json"
"errors" "errors"
"fmt" "fmt"
"github.com/bwmarrin/discord.go" "github.com/bwmarrin/discordgo"
"github.com/foxtrot/scuzzy/models" "github.com/foxtrot/scuzzy/models"
"io/ioutil" "io/ioutil"
"os" "os"

View File

@ -2,7 +2,7 @@ package features
import ( import (
"errors" "errors"
"github.com/bwmarrin/discord.go" "github.com/bwmarrin/discordgo"
"strconv" "strconv"
"strings" "strings"
"time" "time"

View File

@ -2,7 +2,7 @@ package features
import ( import (
"errors" "errors"
"github.com/bwmarrin/discord.go" "github.com/bwmarrin/discordgo"
"strings" "strings"
) )

5
go.mod Normal file
View File

@ -0,0 +1,5 @@
module github.com/foxtrot/scuzzy
go 1.16
require github.com/bwmarrin/discordgo v0.23.2

6
go.sum Normal file
View File

@ -0,0 +1,6 @@
github.com/bwmarrin/discordgo v0.23.2 h1:BzrtTktixGHIu9Tt7dEE6diysEF9HWnXeHuoJEt2fH4=
github.com/bwmarrin/discordgo v0.23.2/go.mod h1:c1WtWUGN6nREDmzIpyTp/iD3VYt4Fpx+bVyfBG7JE+M=
github.com/gorilla/websocket v1.4.0 h1:WDFjx/TMzVgy9VdMMQi2K2Emtwi2QcUQsztZ/zLaH/Q=
github.com/gorilla/websocket v1.4.0/go.mod h1:E7qHFY5m1UJ88s3WnNqhKjPHQ0heANvMoAMk2YaljkQ=
golang.org/x/crypto v0.0.0-20181030102418-4d3f4d9ffa16 h1:y6ce7gCWtnH+m3dCjzQ1PCuwl28DDIc3VNnvY29DlIA=
golang.org/x/crypto v0.0.0-20181030102418-4d3f4d9ffa16/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4=

View File

@ -1,7 +1,7 @@
package permissions package permissions
import ( import (
"github.com/bwmarrin/discord.go" "github.com/bwmarrin/discordgo"
"github.com/foxtrot/scuzzy/models" "github.com/foxtrot/scuzzy/models"
"strings" "strings"
) )