remove: removed potatoExtension
Signed-off-by: limited_dev <loginakkisativ@gmail.com>
This commit is contained in:
parent
7237095636
commit
f1454af395
3 changed files with 4 additions and 49 deletions
|
@ -3,11 +3,10 @@
|
||||||
"6th times the charm" ~ me
|
"6th times the charm" ~ me
|
||||||
|
|
||||||
A Discord music bot, written in Kotlin using the kord library.
|
A Discord music bot, written in Kotlin using the kord library.
|
||||||
<div class="aside">
|
|
||||||
<img src="https://img.shields.io/badge/100%25-Selfmade-success" alt="100% Selfmade"/>
|
[![Latest Release](https://gitlab.com/moonleay/botendo/-/badges/release.svg)](https://gitlab.com/moonleay/botendo/-/releases)
|
||||||
<img src="https://img.shields.io/badge/0%25-optimized-orange" alt="0% optimized"/>
|
[![pipeline status](https://gitlab.com/moonleay/botendo/badges/master/pipeline.svg)](https://gitlab.com/moonleay/botendo/-/commits/master)
|
||||||
<img src="https://img.shields.io/badge/fuck%20it-ship%20it-orange" alt="fuck it, ship it"/>
|
[![coverage report](https://gitlab.com/moonleay/botendo/badges/master/coverage.svg)](https://gitlab.com/moonleay/botendo/-/commits/master)
|
||||||
</div>
|
|
||||||
|
|
||||||
## Contributors
|
## Contributors
|
||||||
|
|
||||||
|
|
|
@ -24,7 +24,6 @@ import de.limited_dev.botendo.buttons.ButtonManager
|
||||||
import de.limited_dev.botendo.data.CredentialManager
|
import de.limited_dev.botendo.data.CredentialManager
|
||||||
import de.limited_dev.botendo.extensions.music.*
|
import de.limited_dev.botendo.extensions.music.*
|
||||||
import de.limited_dev.botendo.extensions.util.InfoExtension
|
import de.limited_dev.botendo.extensions.util.InfoExtension
|
||||||
import de.limited_dev.botendo.extensions.util.PotatoExtension
|
|
||||||
import de.limited_dev.botendo.util.Logger
|
import de.limited_dev.botendo.util.Logger
|
||||||
import de.limited_dev.botendo.util.MessageUtil
|
import de.limited_dev.botendo.util.MessageUtil
|
||||||
import dev.kord.common.Color
|
import dev.kord.common.Color
|
||||||
|
@ -64,7 +63,6 @@ object Bot {
|
||||||
add(::SkipExtension)
|
add(::SkipExtension)
|
||||||
add(::NowPlayingExtension)
|
add(::NowPlayingExtension)
|
||||||
add(::QueueExtension)
|
add(::QueueExtension)
|
||||||
add(::PotatoExtension)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
this.presence {
|
this.presence {
|
||||||
|
|
|
@ -1,42 +0,0 @@
|
||||||
/*
|
|
||||||
* Botendo
|
|
||||||
* Copyright (C) 2023 moonleay
|
|
||||||
*
|
|
||||||
* This program is free software: you can redistribute it and/or modify
|
|
||||||
* it under the terms of the GNU General Public License as published by
|
|
||||||
* the Free Software Foundation, either version 3 of the License, or
|
|
||||||
* (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
* GNU General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU General Public License
|
|
||||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
|
|
||||||
package de.limited_dev.botendo.extensions.util
|
|
||||||
|
|
||||||
import com.kotlindiscord.kord.extensions.extensions.Extension
|
|
||||||
import com.kotlindiscord.kord.extensions.extensions.publicSlashCommand
|
|
||||||
import de.limited_dev.botendo.util.MessageUtil
|
|
||||||
import dev.kord.common.Color
|
|
||||||
|
|
||||||
class PotatoExtension : Extension() {
|
|
||||||
override val name = "potato"
|
|
||||||
override suspend fun setup() {
|
|
||||||
publicSlashCommand {
|
|
||||||
name = "potato"
|
|
||||||
description = "Potato"
|
|
||||||
this.action {
|
|
||||||
MessageUtil.sendEmbedForPublicSlashCommandWithImage(
|
|
||||||
this, Color(0xE0311A), "Potato",
|
|
||||||
"Potato",
|
|
||||||
"https://static.tumblr.com/c06d8e0928395746a63b9c5d3cb1ce66/sl9iajp/gxFmqk38z/tumblr_static_potato-equality.jpg"
|
|
||||||
)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
Loading…
Reference in a new issue