send roles too

master
Cristiano Pires 2 years ago
parent 6218694b59
commit 4d97302023

@ -52,6 +52,7 @@ exports.guildData = (io,bot)=>
var roleRules = aux ? await getRoleRules(guild.id):null;
var guildTextChannels = aux ? aux.TextChannels:null;
var emojis = aux ? aux.emojis:null;
var roles = aux ? aux.roles:null;
const dataObject =
{
id:guild.id,
@ -64,7 +65,8 @@ exports.guildData = (io,bot)=>
memberCount:aux.extra?aux.extra.memberCount:null,
roleRules,
guildTextChannels,
emojis
emojis,
roles
};
resolve(dataObject);

Loading…
Cancel
Save