From 4012b5da026a0b1e10f50684a582fb983281aa7a Mon Sep 17 00:00:00 2001 From: "Stanislav N. aka pztrn" Date: Wed, 16 Oct 2019 21:12:32 +0500 Subject: [PATCH] Fixed Drone pipeline and removed ads from footer. No one loves ads. --- .drone.yml | 1 - message/template.go | 11 ----------- 2 files changed, 12 deletions(-) diff --git a/.drone.yml b/.drone.yml index 5dd9ad0..8f9a001 100644 --- a/.drone.yml +++ b/.drone.yml @@ -23,7 +23,6 @@ steps: - name: test image: golang:1.13.1-alpine environment: - GOFLAGS: -mod=vendor CGO_ENABLED: 0 commands: - go test ./... diff --git a/message/template.go b/message/template.go index 94e6c6c..f94847d 100644 --- a/message/template.go +++ b/message/template.go @@ -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.