From 4ae71df64b059ba789ed3e5addbf3b20b976df89 Mon Sep 17 00:00:00 2001 From: Flummi Date: Wed, 22 Mar 2017 01:05:14 +0100 Subject: [PATCH] slice > splice --- src/trigger/f0ckrand.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/trigger/f0ckrand.js b/src/trigger/f0ckrand.js index f7da2c8..e9f4107 100644 --- a/src/trigger/f0ckrand.js +++ b/src/trigger/f0ckrand.js @@ -5,7 +5,7 @@ module.exports = (lib) => { level: 0, active: 1, func: (e) => { - let args = lib.sql.escape(e.message).split(" ").splice(2); + let args = lib.sql.escape(e.message).split(" ").slice(2); let query = "select `id`,`username` from `f0ck`.`items` "; if(args.length > 0)