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

fix: add missing import "PermissionsBitField" #117

Merged
merged 1 commit into from
Aug 1, 2024

Conversation

MaxiIsSlayy
Copy link
Contributor

it fixed an error saying PermissionsBitField is not defined

@MaxiIsSlayy MaxiIsSlayy changed the title cba making a title sorry fix: add missing import "PermissionsBitField" Aug 1, 2024
@jacoobes jacoobes merged commit 8b673c7 into sern-handler:main Aug 1, 2024
1 check passed
@Peter-MJ-Parker
Copy link
Contributor

Peter-MJ-Parker commented Aug 2, 2024

I honestly don't know how I missed that import, however, PermissionsBitField is being used as a value in this case. So...

-import type { GuildMember, PermissionResolvable, TextChannel, PermissionsBitField } from 'discord.js'; 
+import { type GuildMember, type PermissionResolvable, type TextChannel, PermissionsBitField } from 'discord.js'; 

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

Successfully merging this pull request may close these issues.

3 participants