Skip to content

Commit

Permalink
Fix marshmallow error (#17)
Browse files Browse the repository at this point in the history
* ✨ Unfinished changes

* 🔥 Remove console log

* 🔥 Remove unnecessary console.logs

* 🔥 Remove another console.log

* 🔥 Remove unecessary comment

* Add top level documentation and fix missing import (#2)

* 🐛 Fix missing import

* 📝 Add top level documentation

* 📝 Fix typo

* 🐛 Fix !knowme and !mm

* v1.0.1

* Automatic total marshmallow updates (#6)

* ✨ Add a feature to notify new marshmallow recipients of their adjusted total ✨

* Update commands.js

*  🔨 restore env.example

*  🔨 replace .env.example

*  🔨 end me

*  🔨 I LOVE LEARNING :^)

* A instead of E except for most things (#7)

* ✨ Add a feature to notify new marshmallow recipients of their adjusted total ✨

* Update commands.js

*  🔨 restore env.example

*  🔨 replace .env.example

*  🔨 end me

*  🔨 I LOVE LEARNING :^)

*  🔨 Now using real words!

* 🔧 Update migration

* Add !help command (#8)

* 🔧 Add inline json import plugin

* ✨ Add help command

* ✨ Add help for a specific command

* 📝 Update docs

* 📝 Fix typo

* v1.1.1

* Fix broken marshmellow emoji id by giving randomnly known emojis (#9)

* 🐛 Fix marshmellow emojis wrong id

* v1.2.2

* 🔧 Move inline-json-import to dependencies

* v1.2.3

* 🔨 camel case!

* 🐛 Fix camel casing, quotes and a comment

* v1.2.4

* 🐛 Fix marshmallow command

* v1.2.5
  • Loading branch information
tiffafoo authored May 4, 2018
1 parent de2061c commit 63919db
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "camperbot",
"version": "1.2.4",
"version": "1.2.5",
"description": "freeCodeCamp montreal discord bot",
"main": "src/app.js",
"repository": "[email protected]:sirMerr/camperbot.git",
Expand Down
2 changes: 1 addition & 1 deletion src/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ client.on('message', msg => {
const commandMatches = commands => {
if (Array.isArray(commands)) {
for (let i = 0; i < commands.length; i++) {
if (`${prefix}${commands[i]}` === content) return true;
if (`${prefix}${commands[i]}` === content.split(' ')[0]) return true;
}
return false;
}
Expand Down

0 comments on commit 63919db

Please sign in to comment.