Skip to content

Instantly share code, notes, and snippets.

@datalet
Created February 8, 2017 07:28
Show Gist options
  • Save datalet/0c1385da7886941097b56ee872d19a82 to your computer and use it in GitHub Desktop.
Save datalet/0c1385da7886941097b56ee872d19a82 to your computer and use it in GitHub Desktop.
increment db.counter in BotD
! ```
db.counter = (db.counter || 0) + 1;
console.dir(db)
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment