Update build.gradle
This commit is contained in:
parent
d523a2c204
commit
ad2565147c
@ -156,8 +156,9 @@ tasks.getByName("curseforge").doLast {
|
|||||||
|
|
||||||
def message = new Message()
|
def message = new Message()
|
||||||
def version = project.curse_versions.split(', ')[0]
|
def version = project.curse_versions.split(', ')[0]
|
||||||
message.setUsername("Release")
|
message.setUsername("Curseforge Release")
|
||||||
message.setContent("<@&852113509243682817> ${project.project_name} ${project.mod_version} for Minecraft ${version} has been released!")
|
message.setContent("<@&852113509243682817> ${project.project_name} ${project.mod_version} for Minecraft ${version} has been released!")
|
||||||
|
message.setAvatarUrl("https://cdn.discordapp.com/avatars/680540027255652407/e4b7a058b24843ae13389a9a3cc3ae8c.png?size=128")
|
||||||
|
|
||||||
def embed = new Embed()
|
def embed = new Embed()
|
||||||
embed.addField('Get it here (When it is accepted)', "${project.findProperty('curse_page_fabric')}/files/${fileID}", false)
|
embed.addField('Get it here (When it is accepted)', "${project.findProperty('curse_page_fabric')}/files/${fileID}", false)
|
||||||
|
Loading…
Reference in New Issue
Block a user