mirror of
https://github.com/LBRYFoundation/lbry-wunderbot.git
synced 2025-08-23 17:47:27 +00:00
Update releasenotes.js
This commit is contained in:
parent
931bc0af8e
commit
3e3af97b43
1 changed files with 2 additions and 2 deletions
|
@ -74,7 +74,7 @@ exports.releasenotes = {
|
|||
msg.channel.send(message);
|
||||
return;
|
||||
}
|
||||
if (hasPerms(msg) && suffix === releaseTypeName + ' post') {
|
||||
if (hasPerms(msg) && suffix === 'android post' || 'desktop post') {
|
||||
bot.channels.get(ChannelID).send(message);
|
||||
} else {
|
||||
msg.channel.send(msg.author + ' Release notes sent via DM');
|
||||
|
@ -115,7 +115,7 @@ exports.releasenotes = {
|
|||
}
|
||||
return;
|
||||
}
|
||||
if (hasPerms(msg) && suffix === releaseTypeName + ' post') {
|
||||
if (hasPerms(msg) && suffix === 'android post' || 'desktop post') {
|
||||
for (let i = 0; i < embedmessages.length; i++) {
|
||||
bot.channels.get(ChannelID).send(embedmessages[i]);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue