slice > splice
This commit is contained in:
parent
aa36f5bcd4
commit
4ae71df64b
|
@ -5,7 +5,7 @@ module.exports = (lib) => {
|
||||||
level: 0,
|
level: 0,
|
||||||
active: 1,
|
active: 1,
|
||||||
func: (e) => {
|
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` ";
|
let query = "select `id`,`username` from `f0ck`.`items` ";
|
||||||
if(args.length > 0)
|
if(args.length > 0)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user