Skip to content

Commit

Permalink
fix: ci errors
Browse files Browse the repository at this point in the history
  • Loading branch information
sdanialraza committed Jan 12, 2025
1 parent 4deb913 commit ace2e82
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 2 additions & 2 deletions packages/discord.js/src/errors/Messages.js
Original file line number Diff line number Diff line change
Expand Up @@ -145,8 +145,8 @@ const Messages = {

[ErrorCodes.PollAlreadyExpired]: 'This poll has already expired.',

[DjsErrorCodes.PermissionOverwritesTypeMandatory]: '"overwrite.type" is mandatory if "overwrite.id" is a Snowflake',
[DjsErrorCodes.PermissionOverwritesTypeMismatch]: expected =>
[ErrorCodes.PermissionOverwritesTypeMandatory]: '"overwrite.type" is mandatory if "overwrite.id" is a Snowflake',
[ErrorCodes.PermissionOverwritesTypeMismatch]: expected =>
`"overwrite.id" is a ${expected.toLowerCase()} object, ` +
`but "overwrite.type" is defined and not equal to OverwriteType.${expected}`,
};
Expand Down
2 changes: 0 additions & 2 deletions packages/discord.js/src/structures/AnnouncementChannel.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
'use strict';

const { Routes } = require('discord-api-types/v10');
const { BaseGuildTextChannel } = require('./BaseGuildTextChannel');
const { DiscordjsError, ErrorCodes } = require('../errors');

/**
* Represents a guild announcement channel on Discord.
Expand Down

0 comments on commit ace2e82

Please sign in to comment.