Skip to content
Snippets Groups Projects
Commit b6f3bc2d authored by Reviath's avatar Reviath
Browse files

Uodate go.sum and go.mod, all commands are ready!

parent b1dd3904
No related branches found
No related tags found
No related merge requests found
......@@ -3,14 +3,13 @@ package commands
import (
"fmt"
embedutil "git.randomchars.net/Reviath/RemiliaScarlet/EmbedUtil"
embedutil "git.randomchars.net/FreeNitori/EmbedUtil"
CommandHandler "git.randomchars.net/Reviath/RemiliaScarlet/handler"
)
func VoteCommand(ctx CommandHandler.Context, _ []string) error {
voteeembed := embedutil.NewEmbed().
SetColor(0xc000ff).
SetDescription(fmt.Sprintf("Click [here](https://top.gg/bot/%s/vote) to vote me on Top.gg!", ctx.Session.State.User.ID)).MessageEmbed
ctx.ReplyEmbed(voteeembed)
voteembed := embedutil.New("", fmt.Sprintf("Click [here](https://top.gg/bot/%s/vote) to vote me on Top.gg!", ctx.Session.State.User.ID))
voteembed.Color = 0xc000ff
ctx.ReplyEmbed(voteembed)
return nil
}
......@@ -4,12 +4,16 @@ go 1.16
require (
git.randomchars.net/FreeNitori/EmbedUtil v1.0.1
git.randomchars.net/FreeNitori/FreeNitori v1.12.12
git.randomchars.net/FreeNitori/Multiplexer v1.0.5
github.com/bwmarrin/discordgo v0.23.2
github.com/gin-gonic/gin v1.7.1
github.com/go-sql-driver/mysql v1.6.0
github.com/google/go-cmp v0.5.2 // indirect
github.com/json-iterator/go v1.1.9
github.com/pollen5/discord-oauth2 v0.0.0-20210409042811-96ad60db2cdb
github.com/stretchr/testify v1.6.1 // indirect
golang.org/x/net v0.0.0-20201021035429-f5854403a974 // indirect
golang.org/x/oauth2 v0.0.0-20210413134643-5e61552d6c78
golang.org/x/sys v0.0.0-20201018230417-eeed37f84f13 // indirect
gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 // indirect
gopkg.in/yaml.v2 v2.3.0 // indirect
)
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment