1
0
mirror of https://github.com/musix-org/musix-oss synced 2024-09-20 01:21:56 +00:00

Update guildcreate.js

This commit is contained in:
Christer Warén 2019-10-31 23:35:57 +02:00 committed by GitHub
parent 3166c44ac8
commit 363f7fa49c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,7 +2,7 @@ module.exports = {
name: 'guildcreate',
async execute(client, guild) {
client.db.collection('guilds').doc(guild.id).set({
prefix: '>',
prefix: client.config.prefix,
defaultVolume: 5,
permissions: false,
premium: false,
@ -11,7 +11,7 @@ module.exports = {
startPlaying: true
});
client.global.db.guilds[guild.id] = {
prefix: ">",
prefix: client.config.prefix,
defaultVolume: 5,
permissions: false,
premium: false,