diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index 2ec308a..22e71da 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -4,12 +4,10 @@
-
+
-
-
-
-
+
+
@@ -79,7 +77,7 @@
-
+
@@ -163,7 +161,10 @@
-
+
+
+
+
1640148826800
@@ -256,7 +257,42 @@
1644454968528
-
+
+ 1645501776749
+
+
+
+ 1645501776749
+
+
+ 1645649572924
+
+
+
+ 1645649572924
+
+
+ 1645650089290
+
+
+
+ 1645650089290
+
+
+ 1645660453432
+
+
+
+ 1645660453432
+
+
+ 1645679244004
+
+
+
+ 1645679244004
+
+
@@ -289,6 +325,11 @@
-
+
+
+
+
+
+
\ No newline at end of file
diff --git a/commands/social/afk.js b/commands/social/afk.js
index a482e50..a8e45c8 100644
--- a/commands/social/afk.js
+++ b/commands/social/afk.js
@@ -21,8 +21,8 @@ module.exports = {
? message.content.slice(prefix.length).trim().split(/ +/g)
: msg.startsWith('<@!')
? message.content.slice(4 + client.user.id.length).trim().split(/ +/g)
- : message.content.slice(3 + client.user.id.length).trim().split(/ +/g)
- .slice(2);
+ : message.content.slice(3 + client.user.id.length).trim().split(/ +/g);
+ args = args.slice(1);
if (!args.length) {return message.channel.send(`Syntax: \`${prefix}afk [clearMode] \``);}
let tu = await UserData.findOne({uid: message.author.id})
? await UserData.findOne({uid: message.author.id})
diff --git a/commands/social/dnd.js b/commands/social/dnd.js
index 76e91c0..1befcb2 100644
--- a/commands/social/dnd.js
+++ b/commands/social/dnd.js
@@ -22,8 +22,8 @@ module.exports = {
? message.content.slice(prefix.length).trim().split(/ +/g)
: msg.startsWith('<@!')
? message.content.slice(4 + client.user.id.length).trim().split(/ +/g)
- : message.content.slice(3 + client.user.id.length).trim().split(/ +/g)
- .slice(2);
+ : message.content.slice(3 + client.user.id.length).trim().split(/ +/g)
+ args = args.slice(1);
let tu = await UserData.findOne({uid: message.author.id})
? await UserData.findOne({uid: message.author.id})
: new UserData({uid: message.author.id});