diff --git a/.idea/kara.iml b/.idea/kara.iml
deleted file mode 100644
index 36810ab..0000000
--- a/.idea/kara.iml
+++ /dev/null
@@ -1,16 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/.idea/workspace.xml b/.idea/workspace.xml
deleted file mode 100644
index d785897..0000000
--- a/.idea/workspace.xml
+++ /dev/null
@@ -1,420 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 1597264410641
-
-
- 1597264410641
-
-
-
-
-
-
-
-
-
-
- 1597348071361
-
-
-
- 1597348071361
-
-
- 1597350180316
-
-
-
- 1597350180316
-
-
- 1597350867239
-
-
-
- 1597350867239
-
-
- 1597352319654
-
-
-
- 1597352319654
-
-
- 1597352391290
-
-
-
- 1597352391290
-
-
- 1597352494191
-
-
-
- 1597352494191
-
-
- 1597352800309
-
-
-
- 1597352800309
-
-
- 1597352905354
-
-
-
- 1597352905354
-
-
- 1597354550739
-
-
-
- 1597354550739
-
-
- 1597354669637
-
-
-
- 1597354669637
-
-
- 1597354705571
-
-
-
- 1597354705571
-
-
- 1597354976941
-
-
-
- 1597354976941
-
-
- 1597355046622
-
-
-
- 1597355046622
-
-
- 1597355213869
-
-
-
- 1597355213869
-
-
- 1597355260615
-
-
-
- 1597355260615
-
-
- 1597355284907
-
-
-
- 1597355284907
-
-
- 1597355468300
-
-
-
- 1597355468300
-
-
- 1597355517033
-
-
-
- 1597355517033
-
-
- 1597355591231
-
-
-
- 1597355591231
-
-
- 1597355683327
-
-
-
- 1597355683327
-
-
- 1597355700869
-
-
-
- 1597355700869
-
-
- 1597355794310
-
-
-
- 1597355794310
-
-
- 1597356192344
-
-
-
- 1597356192344
-
-
- 1597577517699
-
-
-
- 1597577517699
-
-
- 1597577559042
-
-
-
- 1597577559042
-
-
- 1597577694274
-
-
-
- 1597577694274
-
-
- 1597578975715
-
-
-
- 1597578975715
-
-
- 1597584801023
-
-
-
- 1597584801023
-
-
- 1597587202860
-
-
-
- 1597587202860
-
-
- 1597587291650
-
-
-
- 1597587291650
-
-
- 1597589149291
-
-
-
- 1597589149291
-
-
- 1597589650668
-
-
-
- 1597589650669
-
-
- 1597589670240
-
-
-
- 1597589670240
-
-
- 1597607090595
-
-
-
- 1597607090595
-
-
- 1597607586663
-
-
-
- 1597607586663
-
-
- 1597609566783
-
-
-
- 1597609566783
-
-
- 1597610420208
-
-
-
- 1597610420208
-
-
- 1597611480915
-
-
-
- 1597611480915
-
-
- 1600434244194
-
-
-
- 1600434244194
-
-
- 1600434611694
-
-
-
- 1600434611694
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/app.js b/app.js
index ae732a2..4599636 100644
--- a/app.js
+++ b/app.js
@@ -129,7 +129,7 @@ let kara = new Vue({
setTimeout(() => {
// Check commands
- if (this.checkForCommands(message, ['note', 'nt'])) {
+ if (this.checkForCommands(message, 'note')) {
let noteToSave = this.checkForCommands(message, 'note');
this.saveNote(noteToSave);
} else if (this.checkForCommands(message, 'clear')) {
@@ -413,6 +413,17 @@ let kara = new Vue({
])
)
},
+ clearNotes() {
+ this.notes = [];
+
+ this.botMessage(
+ this.oneOf([
+ "Notes cleared. 🚮"
+ ])
+ );
+
+ this.updateStorage();
+ },
saveSettings() {
this.name = this.settingsModal.name;
this.username = this.settingsModal.username;
diff --git a/index.html b/index.html
index 4f2b2f2..176c8df 100644
--- a/index.html
+++ b/index.html
@@ -110,12 +110,17 @@