Browse Source

3.0.0-b7

Fix crash restart when bot received DM
master
Benji 4 years ago
parent
commit
a489726eb6
  1. 4
      CHANGELOG.md
  2. 3
      app/index.js
  3. 2
      package.json

4
CHANGELOG.md

@ -1,5 +1,9 @@
# Changelog
## v3.0.0-b7
- Fix crash restart when bot received a DM
## v3.0.0-b6
### Updatd

3
app/index.js

@ -20,6 +20,9 @@ client.on("ready", () => {
.then(() => checkFeedsInGuilds());
client.on("message", message => {
if (message.channel.type !== "text" || !message.member)
return;
const guildData = client.guildsData[message.guild.id];
if (guildData)
guildData.feeds.forEach(feedData => {

2
package.json

@ -1,5 +1,5 @@
{
"version": "3.0.0-b6",
"version": "3.0.0-b7",
"main": "app/index.js",
"scripts": {
"postinstall": "cd ./discord-bot-core && npm install",

Loading…
Cancel
Save