mirror of
https://github.com/LBRYFoundation/lbry-wunderbot.git
synced 2025-08-28 16:01:29 +00:00
fix channel id again :P
This commit is contained in:
parent
7ab61ce7d9
commit
a7af1d14b1
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ exports.releasenotes = {
|
||||||
releaseurl = JSON.parse(body).html_url
|
releaseurl = JSON.parse(body).html_url
|
||||||
message = {"embed": {"title": "*Download " + releasename + " here!*","description": releasemessage,"url": releaseurl,"color": 7976557,"timestamp": releasedate,"author": {"name": "Lbry-app Release Notes for " + releasename,"icon_url": "http://www.pngall.com/wp-content/uploads/2016/04/Github-PNG-Image.png"},"footer": {"icon_url": "https://i.imgur.com/yWf5USu.png","text": "Lbry-app Updated "}}}
|
message = {"embed": {"title": "*Download " + releasename + " here!*","description": releasemessage,"url": releaseurl,"color": 7976557,"timestamp": releasedate,"author": {"name": "Lbry-app Release Notes for " + releasename,"icon_url": "http://www.pngall.com/wp-content/uploads/2016/04/Github-PNG-Image.png"},"footer": {"icon_url": "https://i.imgur.com/yWf5USu.png","text": "Lbry-app Updated "}}}
|
||||||
if ( hasPerms(msg) === true && suffix === "post") {
|
if ( hasPerms(msg) === true && suffix === "post") {
|
||||||
var channelID = "324400517075959808"
|
var channelID = "370779899650375681"
|
||||||
bot.channels.get(channelID).send(message)
|
bot.channels.get(channelID).send(message)
|
||||||
} else {
|
} else {
|
||||||
msg.channel.send(msg.author + " Release notes sent via DM")
|
msg.channel.send(msg.author + " Release notes sent via DM")
|
||||||
|
|
Loading…
Add table
Reference in a new issue