📜  discord jda 从频道中删除 @everyone - Java 代码示例

📅  最后修改于: 2022-03-11 14:52:24.083000             🧑  作者: Mango

代码示例1
channel.createPermissionOverride(guild.getPublicRole())
    .setAllow(Permission.EMPTY_PERMISSIONS)
    .reason("Remove @everyone from the channel")
    .queue();