mirror of
https://github.com/musix-org/musix-oss
synced 2024-11-10 05:10:17 +00:00
16 lines
389 B
JavaScript
16 lines
389 B
JavaScript
module.exports = {
|
|
name: 'guildcreate',
|
|
async execute(client, guild) {
|
|
client.db.collection('guilds').doc(guild.id).set({
|
|
prefix: '>',
|
|
defaultVolume: 5,
|
|
permissions: false,
|
|
});
|
|
client.global.db.guilds[guild.id] = {
|
|
prefix: ">",
|
|
defaultVolume: 5,
|
|
permissions: false,
|
|
};
|
|
}
|
|
}
|