Pogy-Bot / Pogy

A fully customizable bot built with 147 commands, 11 categories and a dashboard using discord.js v13
https://v2.pogy.xyz
Apache License 2.0
145 stars 101 forks source link

{prefix}servers and {prefix}server id #3

Closed Justsomeguy798 closed 1 year ago

Justsomeguy798 commented 1 year ago

error code is

{prefix}servers message.client.guilds.cache.array is not a function at module.exports.run (/home/runner/boltza/src/commands/owner/servers.js:16:49) at module.exports.runCommand (/home/runner/boltza/src/events/message/messageCreate.js:307:19) at module.exports.run (/home/runner/boltza/src/events/message/messageCreate.js:281:20)

{prefix}server id 

has a different error

Cannot read properties of undefined (reading 'user')

peterhanania commented 1 year ago

fixed in https://github.com/Pogy-Bot/Pogy/commit/9dfca80a74fee2289ad17f201e511c3a27d1da4c

I recommend you delete your old src folder and update.