Fixed Drone pipeline and removed ads from footer. No one loves ads.
This commit is contained in:
parent
db34a064f5
commit
4012b5da02
@ -23,7 +23,6 @@ steps:
|
||||
- name: test
|
||||
image: golang:1.13.1-alpine
|
||||
environment:
|
||||
GOFLAGS: -mod=vendor
|
||||
CGO_ENABLED: 0
|
||||
commands:
|
||||
- go test ./...
|
||||
|
@ -9,13 +9,6 @@ import (
|
||||
"go.dev.pztrn.name/discordrone/env"
|
||||
)
|
||||
|
||||
const (
|
||||
// DroneIconURL default drone logo url
|
||||
droneIconURL = "https://c1.staticflickr.com/5/4236/34957940160_435d83114f_z.jpg"
|
||||
// DroneDesc default drone description
|
||||
droneDesc = "Powered by DiscorDrone Plugin"
|
||||
)
|
||||
|
||||
func createEmbed() EmbedObject {
|
||||
// Create initial payload object.
|
||||
// Description.
|
||||
@ -27,10 +20,6 @@ func createEmbed() EmbedObject {
|
||||
Name: env.Data.Drone.Commit.Author.Name,
|
||||
IconURL: env.Data.Drone.Commit.Author.Avatar,
|
||||
},
|
||||
Footer: EmbedFooterObject{
|
||||
Text: droneDesc,
|
||||
IconURL: droneIconURL,
|
||||
},
|
||||
}
|
||||
|
||||
// Compose description.
|
||||
|
Reference in New Issue
Block a user