Skip to content

Commit

Permalink
Fix package references :D
Browse files Browse the repository at this point in the history
  • Loading branch information
NoComment1105 committed Aug 25, 2024
1 parent 9f49672 commit b06f0eb
Show file tree
Hide file tree
Showing 8 changed files with 53 additions and 55 deletions.
46 changes: 23 additions & 23 deletions src/main/kotlin/org/hyacinthbots/lilybot/LilyBot.kt
Original file line number Diff line number Diff line change
Expand Up @@ -27,29 +27,29 @@ import org.hyacinthbots.lilybot.database.collections.WelcomeChannelCollection
import org.hyacinthbots.lilybot.database.storage.MongoDBDataAdapter
import org.hyacinthbots.lilybot.extensions.config.ConfigExtension
import org.hyacinthbots.lilybot.extensions.config.ConfigOptions
import org.hyacinthbots.lilybot.extensions.config.GuildLogging
import org.hyacinthbots.lilybot.extensions.events.AutoThreading
import org.hyacinthbots.lilybot.extensions.events.MemberLogging
import org.hyacinthbots.lilybot.extensions.events.MessageDelete
import org.hyacinthbots.lilybot.extensions.events.MessageEdit
import org.hyacinthbots.lilybot.extensions.events.ModThreadInviting
import org.hyacinthbots.lilybot.extensions.moderation.ClearCommands
import org.hyacinthbots.lilybot.extensions.moderation.LockingCommands
import org.hyacinthbots.lilybot.extensions.moderation.ModerationCommands
import org.hyacinthbots.lilybot.extensions.moderation.Report
import org.hyacinthbots.lilybot.extensions.util.GalleryChannel
import org.hyacinthbots.lilybot.extensions.util.Github
import org.hyacinthbots.lilybot.extensions.util.GuildAnnouncements
import org.hyacinthbots.lilybot.extensions.util.InfoCommands
import org.hyacinthbots.lilybot.extensions.util.ModUtilities
import org.hyacinthbots.lilybot.extensions.util.NewsChannelPublishing
import org.hyacinthbots.lilybot.extensions.util.PublicUtilities
import org.hyacinthbots.lilybot.extensions.util.Reminders
import org.hyacinthbots.lilybot.extensions.util.RoleMenu
import org.hyacinthbots.lilybot.extensions.util.StartupHooks
import org.hyacinthbots.lilybot.extensions.util.StatusPing
import org.hyacinthbots.lilybot.extensions.util.Tags
import org.hyacinthbots.lilybot.extensions.util.ThreadControl
import org.hyacinthbots.lilybot.extensions.logging.events.GuildLogging
import org.hyacinthbots.lilybot.extensions.logging.events.MemberLogging
import org.hyacinthbots.lilybot.extensions.logging.events.MessageDelete
import org.hyacinthbots.lilybot.extensions.logging.events.MessageEdit
import org.hyacinthbots.lilybot.extensions.moderation.commands.ClearCommands
import org.hyacinthbots.lilybot.extensions.moderation.commands.LockingCommands
import org.hyacinthbots.lilybot.extensions.moderation.commands.ModUtilities
import org.hyacinthbots.lilybot.extensions.moderation.commands.ModerationCommands
import org.hyacinthbots.lilybot.extensions.moderation.commands.Report
import org.hyacinthbots.lilybot.extensions.threads.AutoThreading
import org.hyacinthbots.lilybot.extensions.threads.ModThreadInviting
import org.hyacinthbots.lilybot.extensions.threads.ThreadControl
import org.hyacinthbots.lilybot.extensions.utils.commands.GalleryChannel
import org.hyacinthbots.lilybot.extensions.utils.commands.Github
import org.hyacinthbots.lilybot.extensions.utils.commands.GuildAnnouncements
import org.hyacinthbots.lilybot.extensions.utils.commands.InfoCommands
import org.hyacinthbots.lilybot.extensions.utils.commands.NewsChannelPublishing
import org.hyacinthbots.lilybot.extensions.utils.commands.PublicUtilities
import org.hyacinthbots.lilybot.extensions.utils.commands.Reminders
import org.hyacinthbots.lilybot.extensions.utils.commands.RoleMenu
import org.hyacinthbots.lilybot.extensions.utils.commands.StartupHooks
import org.hyacinthbots.lilybot.extensions.utils.commands.StatusPing
import org.hyacinthbots.lilybot.extensions.utils.commands.Tags
import org.hyacinthbots.lilybot.internal.BuildInfo
import org.hyacinthbots.lilybot.utils.BOT_TOKEN
import org.hyacinthbots.lilybot.utils.ENVIRONMENT
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package org.hyacinthbots.lilybot.extensions.logging.config

import com.kotlindiscord.kord.extensions.commands.Arguments
import com.kotlindiscord.kord.extensions.commands.converters.impl.boolean
import com.kotlindiscord.kord.extensions.commands.converters.impl.optionalChannel
import dev.kordex.core.commands.Arguments
import dev.kordex.core.commands.converters.impl.boolean
import dev.kordex.core.commands.converters.impl.optionalChannel

class LoggingArgs : Arguments() {
val enableMessageDeleteLogs by boolean {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,21 +1,19 @@
package org.hyacinthbots.lilybot.extensions.logging.config

import com.kotlindiscord.kord.extensions.checks.anyGuild
import com.kotlindiscord.kord.extensions.checks.hasPermission
import com.kotlindiscord.kord.extensions.commands.application.slash.SlashCommand
import com.kotlindiscord.kord.extensions.modules.unsafe.annotations.UnsafeAPI
import com.kotlindiscord.kord.extensions.modules.unsafe.extensions.unsafeSubCommand
import com.kotlindiscord.kord.extensions.modules.unsafe.types.InitialSlashCommandResponse
import com.kotlindiscord.kord.extensions.modules.unsafe.types.ackEphemeral
import com.kotlindiscord.kord.extensions.modules.unsafe.types.respondEphemeral
import com.kotlindiscord.kord.extensions.utils.botHasPermissions
import dev.kord.common.entity.Permission
import dev.kord.core.behavior.channel.createMessage
import dev.kord.core.behavior.getChannelOfOrNull
import dev.kord.core.behavior.interaction.modal
import dev.kord.core.entity.channel.TextChannel
import dev.kord.rest.builder.message.EmbedBuilder
import dev.kord.rest.builder.message.embed
import dev.kordex.core.checks.anyGuild
import dev.kordex.core.checks.hasPermission
import dev.kordex.core.commands.application.slash.SlashCommand
import dev.kordex.core.utils.botHasPermissions
import dev.kordex.modules.dev.unsafe.annotations.UnsafeAPI
import dev.kordex.modules.dev.unsafe.commands.slash.InitialSlashCommandResponse
import dev.kordex.modules.dev.unsafe.extensions.unsafeSubCommand
import org.hyacinthbots.lilybot.database.collections.LoggingConfigCollection
import org.hyacinthbots.lilybot.database.entities.LoggingConfigData
import org.hyacinthbots.lilybot.database.entities.PublicMemberLogData
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package org.hyacinthbots.lilybot.extensions.logging.config

import com.kotlindiscord.kord.extensions.components.forms.ModalForm
import dev.kordex.core.components.forms.ModalForm

class PublicLoggingModal : ModalForm() {
override var title = "Public logging configuration"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
package org.hyacinthbots.lilybot.extensions.moderation.config

import com.kotlindiscord.kord.extensions.commands.Arguments
import com.kotlindiscord.kord.extensions.commands.converters.impl.boolean
import com.kotlindiscord.kord.extensions.commands.converters.impl.coalescingOptionalDuration
import com.kotlindiscord.kord.extensions.commands.converters.impl.optionalBoolean
import com.kotlindiscord.kord.extensions.commands.converters.impl.optionalChannel
import com.kotlindiscord.kord.extensions.commands.converters.impl.optionalRole
import com.kotlindiscord.kord.extensions.commands.converters.impl.optionalString
import dev.kordex.core.commands.Arguments
import dev.kordex.core.commands.converters.impl.boolean
import dev.kordex.core.commands.converters.impl.coalescingOptionalDuration
import dev.kordex.core.commands.converters.impl.optionalBoolean
import dev.kordex.core.commands.converters.impl.optionalChannel
import dev.kordex.core.commands.converters.impl.optionalRole
import dev.kordex.core.commands.converters.impl.optionalString

class ModerationArgs : Arguments() {
val enabled by boolean {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
package org.hyacinthbots.lilybot.extensions.moderation.config

import com.kotlindiscord.kord.extensions.checks.anyGuild
import com.kotlindiscord.kord.extensions.checks.hasPermission
import com.kotlindiscord.kord.extensions.commands.application.slash.SlashCommand
import com.kotlindiscord.kord.extensions.commands.application.slash.ephemeralSubCommand
import com.kotlindiscord.kord.extensions.utils.botHasPermissions
import dev.kord.common.entity.Permission
import dev.kord.core.behavior.channel.createMessage
import dev.kord.core.behavior.getChannelOfOrNull
import dev.kord.core.entity.channel.TextChannel
import dev.kord.rest.builder.message.EmbedBuilder
import dev.kord.rest.builder.message.embed
import dev.kordex.core.checks.anyGuild
import dev.kordex.core.checks.hasPermission
import dev.kordex.core.commands.application.slash.SlashCommand
import dev.kordex.core.commands.application.slash.ephemeralSubCommand
import dev.kordex.core.utils.botHasPermissions
import org.hyacinthbots.lilybot.database.collections.ModerationConfigCollection
import org.hyacinthbots.lilybot.database.entities.ModerationConfigData
import org.hyacinthbots.lilybot.extensions.config.ConfigOptions
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package org.hyacinthbots.lilybot.extensions.utils.config

import com.kotlindiscord.kord.extensions.commands.Arguments
import com.kotlindiscord.kord.extensions.commands.converters.impl.optionalChannel
import dev.kordex.core.commands.Arguments
import dev.kordex.core.commands.converters.impl.optionalChannel

class UtilityArgs : Arguments() {
val utilityLogChannel by optionalChannel {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
package org.hyacinthbots.lilybot.extensions.utils.config

import com.kotlindiscord.kord.extensions.checks.anyGuild
import com.kotlindiscord.kord.extensions.checks.hasPermission
import com.kotlindiscord.kord.extensions.commands.application.slash.SlashCommand
import com.kotlindiscord.kord.extensions.commands.application.slash.ephemeralSubCommand
import com.kotlindiscord.kord.extensions.utils.botHasPermissions
import dev.kord.common.entity.Permission
import dev.kord.core.behavior.channel.createMessage
import dev.kord.core.behavior.getChannelOfOrNull
import dev.kord.core.entity.channel.TextChannel
import dev.kord.rest.builder.message.EmbedBuilder
import dev.kord.rest.builder.message.embed
import dev.kordex.core.checks.anyGuild
import dev.kordex.core.checks.hasPermission
import dev.kordex.core.commands.application.slash.SlashCommand
import dev.kordex.core.commands.application.slash.ephemeralSubCommand
import dev.kordex.core.utils.botHasPermissions
import org.hyacinthbots.lilybot.database.collections.UtilityConfigCollection
import org.hyacinthbots.lilybot.database.entities.UtilityConfigData

Expand Down

0 comments on commit b06f0eb

Please sign in to comment.