-
Notifications
You must be signed in to change notification settings - Fork 0
Created radio group command #86
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
1e9231b to
535a6cd
Compare
| @@ -0,0 +1,50 @@ | |||
| package es.wokis.commands.radio | |||
|
|
|||
| import dev.kord.core.Kord | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 [ktlint] standard:import-ordering reported by reviewdog 🐶
Imports must be ordered in lexicographic order without any empty lines in-between with "java", "javax", "kotlin" and aliases in the end
|
| val maxPage: Int, | ||
| @SerialName("radios") | ||
| val radios: List<RadioDTO> | ||
| ) No newline at end of file |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 [ktlint] standard:final-newline reported by reviewdog 🐶
File must end with a newline (\n)
| currentTrack = it | ||
| } | ||
| player.startTrack( | ||
| /* track = */ currentTrack.audioTrack, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 [ktlint] standard:comment-wrapping reported by reviewdog 🐶
A block comment may not be followed by any other element on that same line
| } | ||
| player.startTrack( | ||
| /* track = */ currentTrack.audioTrack, | ||
| /* noInterrupt = */ true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 [ktlint] standard:comment-wrapping reported by reviewdog 🐶
A block comment may not be followed by any other element on that same line
| val customName: String? = null, | ||
| val customFavicon: String? = null, | ||
| val audioTrack: AudioTrack | ||
| ) No newline at end of file |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 [ktlint] standard:final-newline reported by reviewdog 🐶
File must end with a newline (\n)
| } | ||
|
|
||
| override suspend fun onAutoComplete(interaction: AutoCompleteInteraction) { | ||
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 [ktlint] standard:no-blank-line-before-rbrace reported by reviewdog 🐶
Unexpected blank line(s) before "}"
| } | ||
|
|
||
| override suspend fun onAutoComplete(interaction: AutoCompleteInteraction) { | ||
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 [ktlint] standard:no-empty-first-line-in-method-block reported by reviewdog 🐶
First line in a method block should not be empty


Solves #issue1, #issue2, #issuen.
📋 Changelist Summary
Small description of this PR.
💬 Description
A longer description of this PR.
🐞 Steps to reproduce bug
Steps to reproduce the behavior:
📷 Media
Add media if applies.
ℹ️ Extra info
Extra information of this PR, if any.