Skip to content

Commit

Permalink
fmt: add new lines to ends of files
Browse files Browse the repository at this point in the history
  • Loading branch information
mazziechai committed Nov 21, 2024
1 parent 97e874f commit ceed382
Show file tree
Hide file tree
Showing 12 changed files with 11 additions and 12 deletions.
1 change: 0 additions & 1 deletion src/main/kotlin/cafe/ferret/kosekata/App.kt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ val TEST_SERVER_ID = Snowflake(
val ENVIRONMENT = env("ENVIRONMENT")

private val token = env("TOKEN")
private val sentry_dsn = env("SENTRY_DSN")

suspend fun main() {
val bot = ExtensibleBot(token) {
Expand Down
2 changes: 1 addition & 1 deletion src/main/kotlin/cafe/ferret/kosekata/CommandArguments.kt
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@ class UserNotesArgs : Arguments() {
name = Translations.Arguments.Usernotes.name
description = Translations.Arguments.Usernotes.description
}
}
}
2 changes: 1 addition & 1 deletion src/main/kotlin/cafe/ferret/kosekata/_Utils.kt
Original file line number Diff line number Diff line change
Expand Up @@ -117,4 +117,4 @@ suspend fun EphemeralInteractionContext.guildNotes(
}
}
}.send()
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,4 @@ suspend fun ExtensibleBotBuilder.database(migrate: Boolean) {
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -60,4 +60,4 @@ object Migrations : KordExKoinComponent {
logger.info { "Finished database migrations." }
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ class MetaCollection : KordExKoinComponent {
suspend fun set(meta: Meta) = col.replaceOne(eq(Meta::_id.name, "meta"), meta, ReplaceOptions().upsert(true))

companion object : DbCollection("meta")
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -147,4 +147,4 @@ class NoteCollection : KordExKoinComponent {
fun rawCollectionAccess() = col

companion object : DbCollection("notes")
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -154,4 +154,4 @@ class AliasExtension : Extension() {
maxLength = 32
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -60,4 +60,4 @@ class ChatCommandsExtension : Extension() {
description = Translations.Arguments.Notename.description
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -75,4 +75,4 @@ suspend fun <T : Event> CheckContext<T>.isDeveloper(arg: suspend () -> Snowflake
} else {
pass()
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,4 @@ class InfoExtension : Extension() {
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -335,4 +335,4 @@ class ViewingExtension : Extension() {

viewNoteResponse(note, arguments.text != false, guild.id)
}
}
}

0 comments on commit ceed382

Please sign in to comment.