Fix setpresence command
This commit is contained in:
parent
059785955f
commit
be52c11691
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@ module.exports = {
|
||||||
moreHelp: ["Presence types you can use:","PLAY, LISTEN, WATCH","Presence type have to be the first argument"],
|
moreHelp: ["Presence types you can use:","PLAY, LISTEN, WATCH","Presence type have to be the first argument"],
|
||||||
admin: true,
|
admin: true,
|
||||||
execute({message, client, args, globalPrefix}) {
|
execute({message, client, args, globalPrefix}) {
|
||||||
const savePresence = require("../util/savePresence");
|
const savePresence = require("../../util/savePresence");
|
||||||
let presenceType = args[0].toLocaleUpperCase();
|
let presenceType = args[0].toLocaleUpperCase();
|
||||||
if(presenceType == "PLAY" || presenceType == "LISTEN" || presenceType == "WATCH"){
|
if(presenceType == "PLAY" || presenceType == "LISTEN" || presenceType == "WATCH"){
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue