mirror of
https://github.com/musix-org/musix-oss
synced 2024-12-22 21:13:18 +00:00
Update guildcreate.js
This commit is contained in:
parent
3166c44ac8
commit
363f7fa49c
@ -2,7 +2,7 @@ module.exports = {
|
|||||||
name: 'guildcreate',
|
name: 'guildcreate',
|
||||||
async execute(client, guild) {
|
async execute(client, guild) {
|
||||||
client.db.collection('guilds').doc(guild.id).set({
|
client.db.collection('guilds').doc(guild.id).set({
|
||||||
prefix: '>',
|
prefix: client.config.prefix,
|
||||||
defaultVolume: 5,
|
defaultVolume: 5,
|
||||||
permissions: false,
|
permissions: false,
|
||||||
premium: false,
|
premium: false,
|
||||||
@ -11,7 +11,7 @@ module.exports = {
|
|||||||
startPlaying: true
|
startPlaying: true
|
||||||
});
|
});
|
||||||
client.global.db.guilds[guild.id] = {
|
client.global.db.guilds[guild.id] = {
|
||||||
prefix: ">",
|
prefix: client.config.prefix,
|
||||||
defaultVolume: 5,
|
defaultVolume: 5,
|
||||||
permissions: false,
|
permissions: false,
|
||||||
premium: false,
|
premium: false,
|
||||||
|
Loading…
Reference in New Issue
Block a user