Fixed Drone pipeline and removed ads from footer. No one loves ads.

This commit is contained in:
Stanislav Nikitin 2019-10-16 21:12:32 +05:00
parent db34a064f5
commit 4012b5da02
No known key found for this signature in database
GPG Key ID: 106900B32F8192EE
2 changed files with 0 additions and 12 deletions

View File

@ -23,7 +23,6 @@ steps:
- name: test
image: golang:1.13.1-alpine
environment:
GOFLAGS: -mod=vendor
CGO_ENABLED: 0
commands:
- go test ./...

View File

@ -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.