forked from ChrisChrome/weather-bot
Fix that
This commit is contained in:
parent
ae63a0d52d
commit
b5bf06a38d
2
index.js
2
index.js
|
@ -474,7 +474,7 @@ xmpp.on("stanza", (stanza) => {
|
||||||
}).then((msg) => {
|
}).then((msg) => {
|
||||||
if (msg.channel.type === Discord.ChannelType.GuildAnnouncement) msg.crosspost();
|
if (msg.channel.type === Discord.ChannelType.GuildAnnouncement) msg.crosspost();
|
||||||
}).catch((err) => {
|
}).catch((err) => {
|
||||||
console.log(`${colors.orange("[WARN]")} Failed to send message to ${channel.guild.name}/${channel.name} (${channel.guild.id}/${channel.id}): ${err}`);
|
console.log(`${colors.yellow("[WARN]")} Failed to send message to ${channel.guild.name}/${channel.name} (${channel.guild.id}/${channel.id}): ${err}`);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
}).catch((err) => {
|
}).catch((err) => {
|
||||||
|
|
Loading…
Reference in a new issue