Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does not properly show role colors on transcript. #153

Open
LightDarkness101 opened this issue Aug 28, 2023 · 1 comment
Open

Does not properly show role colors on transcript. #153

LightDarkness101 opened this issue Aug 28, 2023 · 1 comment

Comments

@LightDarkness101
Copy link

Generated a transcript for a channel using this on my bot, and it generated the transcript almost perfectly, minus the role colors. None of the users had any color to their roles, except for when someone replied to someone else who had a role color.
https://i.imgur.com/6d025hP.png

@SkellyBuilds
Copy link

Might be a intent issue, i do not encounter any issues similar to this. Heres how you can solve it.
Go to where you create your client. Usually in a index.js file.

This is how i add all my intents although its recommanded to add the right intents that your bot needs.

const { Client, GatewayIntentBits: gib, Collection, GatewayIntentBits } = require("discord.js");

const client = new Client({
    intents: Object.keys(GatewayIntentBits).map((a)=>{
        return GatewayIntentBits[a]
    }),
});

Still not working?

Might be due to the fact that the bot might not have the intents enabled via discord developer portal. Tell me if that resolved anything, glad to help :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants