Skip to content
This repository has been archived by the owner on Jan 23, 2018. It is now read-only.

Commit

Permalink
0.0.4 (#94)
Browse files Browse the repository at this point in the history
* Stop the muppets spamming !stats

Its really annoying me, can't stand it anymore.

* Remove comment for uneeded code

If for some weird reason it turns out we need this, this commit can always be reverted.

* Open DM's correctly for !stats

I made a newb mistake, man its been a bit since I've made anything for MB,

* Delete !stats command message [MUST MINIMIZE SPAM]

In yet another line of mistakes I didn't consider deleting the command after it was sent like a fucking idiot.

* Update package version and info's inside it.

* Delete the !stats command message the proper way

The former way is for bulk delete, which needs more than one message to delete.
  • Loading branch information
Arzte authored and Dougley committed Aug 11, 2017
1 parent 6d4813b commit d905fe7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Commands/Commands/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ commands.stats = {
},
fields: field
}).catch(bugsnag.notify) // Send Message to DM error
}).catch(bugsnag.notify) // Error opening DM channel
}).then(msg.delete()).catch(bugsnag.notify) // Error opening DM channel
}).catch(e => {
msg.reply('an unexpected error occured while getting your stats, try again later.')
console.error(e)
Expand Down
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "discord-feedback",
"version": "0.0.3",
"version": "0.0.4",
"description": "Bot for the Discord Feedback server",
"main": "index.js",
"scripts": {
Expand All @@ -15,7 +15,9 @@
},
"maintainers": [
{
"name": "Benjamin Hoffmeyer (TheDoctorsLife)"
"name": "Benjamin Hoffmeyer (TheDoctorsLife)",
"email": "[email protected]",
"url": "https://doc.tors.life"
}
],
"author": "Remco Jongschaap <[email protected]>",
Expand Down

0 comments on commit d905fe7

Please sign in to comment.