forked from Fascinated/Bat
nvm
This commit is contained in:
parent
0ba532a9b5
commit
cd9563f77e
@ -300,16 +300,4 @@ public class ChannelListener implements EventListener {
|
|||||||
.build())
|
.build())
|
||||||
.build());
|
.build());
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public void onChannelUpdatePosition(@NonNull BatGuild guild, @NonNull Channel channel, int oldPosition, int newPosition,
|
|
||||||
@NonNull ChannelUpdatePositionEvent event) {
|
|
||||||
log.info("Channel \"{}\" position was updated from {} to {} in guild \"{}\"", channel.getName(), oldPosition, newPosition, guild.getName());
|
|
||||||
logFeature.sendLog(guild, LogType.CHANNEL_CONFIGURATION, EmbedUtils.successEmbed()
|
|
||||||
.setDescription(new EmbedDescriptionBuilder("Channel Position Updated")
|
|
||||||
.appendLine("Channel: %s".formatted(channel.getAsMention()), true)
|
|
||||||
.appendLine("Position: `%s` -> `%s`".formatted(oldPosition, newPosition), true)
|
|
||||||
.build())
|
|
||||||
.build());
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user