Преглед на файлове

Additional old dependencies updated

Thisnthat преди 1 година
родител
ревизия
4ab92c6992
променени са 5 файла, в които са добавени 4 реда и са изтрити 7 реда
  1. 1 1
      bot/event/mux/help.go
  2. 1 1
      bot/event/mux/message.go
  3. 2 2
      bot/event/mux/router.go
  4. 0 1
      go.mod
  5. 0 2
      go.sum

+ 1 - 1
bot/event/mux/help.go

@@ -5,7 +5,7 @@ import (
 	"sort"
 	"strconv"
 
-	"git.mgmcomp.net/thisnthat/discordgo"
+	"github.com/bwmarrin/discordgo"
 )
 
 func (r *Router) helpCommandHandler(s *discordgo.Session, m *discordgo.Message, ctx *Context) {

+ 1 - 1
bot/event/mux/message.go

@@ -5,7 +5,7 @@ import (
 	"regexp"
 	"strings"
 
-	"git.mgmcomp.net/thisnthat/discordgo"
+	"github.com/bwmarrin/discordgo"
 )
 
 // OnMessageCreate is a DiscordGo Event Handler function.  This must be

+ 2 - 2
bot/event/mux/router.go

@@ -4,7 +4,7 @@ import (
 	"errors"
 	"strings"
 
-	"git.mgmcomp.net/thisnthat/discordgo"
+	"github.com/bwmarrin/discordgo"
 )
 
 // RouteOptions holds information about a specific message route handler
@@ -119,7 +119,7 @@ var ErrRegisterInvalidRouteType = errors.New("invalid route type")
 var ErrRegisterCallbackRequired = errors.New("a valid callback must be provided")
 
 // Register allows you to register a route
-//func (r *Router) Register(routeType RouteType, name, desc string, callback Handler) (*Route, error) {
+// func (r *Router) Register(routeType RouteType, name, desc string, callback Handler) (*Route, error) {
 func (r *Router) Register(name string, options RouteOptions) error {
 	if name == "" {
 		return ErrRegisterRouteNameRequired

+ 0 - 1
go.mod

@@ -3,7 +3,6 @@ module git.mgmcomp.net/thisnthat/discord-bot
 go 1.19
 
 require (
-	git.mgmcomp.net/thisnthat/discordgo v1.0.1
 	github.com/bwmarrin/discordgo v0.27.1
 	github.com/sirupsen/logrus v1.9.0
 )

+ 0 - 2
go.sum

@@ -1,5 +1,3 @@
-git.mgmcomp.net/thisnthat/discordgo v1.0.1 h1:S/Y0rD2kqWgOV6sWVy8F55D2/2P7vUw1wU98041vTMs=
-git.mgmcomp.net/thisnthat/discordgo v1.0.1/go.mod h1:SuGPRA8Gyf92YuZhwjiXjN6D7ksX0v4naoLd7A+wuYc=
 github.com/bwmarrin/discordgo v0.27.1 h1:ib9AIc/dom1E/fSIulrBwnez0CToJE113ZGt4HoliGY=
 github.com/bwmarrin/discordgo v0.27.1/go.mod h1:NJZpH+1AfhIcyQsPeuBKsUtYrRnjkyu0kIVMCHkZtRY=
 github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=