Fix setpresence command

This commit is contained in:
SileNce5k 2021-07-24 18:10:44 +02:00
parent 059785955f
commit be52c11691
No known key found for this signature in database
GPG key ID: C507260E7F2583AD

View file

@ -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"){