Closed Todgins closed 3 years ago
It appears to be related to this block of code, as it runs as intended (minus handling permissions) when it is isolated from bot.js
/*permissionOverwrites: [
{id: guild.roles.everyone, deny: [Permissions.FLAGS.VIEW_CHANNEL]},
{id: guild.roles.fetch(config.roles.mod), allow: [
Permissions.FLAGS.VIEW_CHANNEL,
Permissions.FLAGS.SEND_MESSAGES,
Permissions.FLAGS.ATTACH_FILES,
Permissions.FLAGS.EMBED_LINKS,
Permissions.FLAGS.READ_MESSAGE_HISTORY
]},
{id: guild.roles.fetch(config.roles.bot), allow: [
Permissions.FLAGS.VIEW_CHANNEL,
Permissions.FLAGS.SEND_MESSAGES,
Permissions.FLAGS.ATTACH_FILES,
Permissions.FLAGS.EMBED_LINKS,
Permissions.FLAGS.READ_MESSAGE_HISTORY
]}
]*/
guild.roles.everyone
actually works, so it doesn't appear to be related to this.
Could be related to other roles IDs. guild.roles.everyone
should return the server ID.
This issue was marked as stale because it had no activity during the past 2 weeks. If this issue keeps being inactive, it will get closed in 3 days. Thanks for your contributions!
This issue was closed due to inactivity. Thanks for your contributions!
Have booted up the bot an enabled DM's to true via config. Upon DMing the bot I receive the following