Skip to content

Conversation

SpaceLeft
Copy link
Contributor

No description provided.

player.set('24h', { status: !status })
await client.playerHandler.savePlayer(client.player.players.get(message.guild.id))
message.channel.send(handler.normalEmbed(`24h \`${status ? 'ENABLED' : 'DISABLED'}\``))
if (!player) return message.channel.send(new handler().normalEmbed('There\'s no active player'))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

handler here is not a class constructor, but rather an object containing static functions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants