Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
Larsundso committed Dec 29, 2023
1 parent 8ae1186 commit 7c96458
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@ import requestHandlerError from '../../requestHandlerError.js';
export default async (message: Discord.Message<true>, emoji: string) => {
if (process.argv.includes('--silent')) return new Error('Silent mode enabled.');

if (!canDeleteAllreactionsOfEmoji(message.channel.id, await getBotMemberFromGuild(message.guild))) {
if (
!canDeleteAllreactionsOfEmoji(message.channel.id, await getBotMemberFromGuild(message.guild))
) {
const e = requestHandlerError(
`Cannot delete all reactions of emoji ${emoji} in ${message.guild.name} / ${message.guild.id}`,
[Discord.PermissionFlagsBits.ManageMessages],
Expand Down

0 comments on commit 7c96458

Please sign in to comment.