mirror of
https://github.com/InsanusMokrassar/PlaguBot.git
synced 2024-11-21 23:23:47 +00:00
start to fix some things
This commit is contained in:
parent
4dbf526af7
commit
3f46ed032c
@ -15,6 +15,9 @@ plugins {
|
||||
id 'application'
|
||||
}
|
||||
|
||||
project.group="dev.inmo"
|
||||
project.version="$version"
|
||||
|
||||
repositories {
|
||||
jcenter()
|
||||
mavenCentral()
|
||||
@ -29,5 +32,5 @@ dependencies {
|
||||
}
|
||||
|
||||
application {
|
||||
mainClassName = 'telegram_bot.AppKt'
|
||||
mainClassName = 'dev.inmo.plagubot.AppKt'
|
||||
}
|
||||
|
@ -8,3 +8,5 @@ kotlin_version=1.4.10
|
||||
kotlin_coroutines_version=1.4.1
|
||||
kotlin_serialisation_runtime_version=1.0.1
|
||||
tgbotapi_version=0.30.0
|
||||
|
||||
version=0.0.1
|
||||
|
@ -1 +1 @@
|
||||
rootProject.name = 'telegram_bot'
|
||||
rootProject.name = 'plagubot'
|
||||
|
@ -1,4 +1,4 @@
|
||||
package telegram_bot
|
||||
package dev.inmo.plagubot
|
||||
|
||||
import dev.inmo.tgbotapi.extensions.api.bot.getMe
|
||||
import dev.inmo.tgbotapi.extensions.api.telegramBot
|
9
src/main/kotlin/dev/inmo/plagubot/Config.kt
Normal file
9
src/main/kotlin/dev/inmo/plagubot/Config.kt
Normal file
@ -0,0 +1,9 @@
|
||||
package dev.inmo.plagubot
|
||||
|
||||
import kotlinx.serialization.Contextual
|
||||
import kotlinx.serialization.Serializable
|
||||
|
||||
@Serializable
|
||||
data class Config(
|
||||
val plugins: List<@Contextual Plugin>
|
||||
)
|
3
src/main/kotlin/dev/inmo/plagubot/Plugin.kt
Normal file
3
src/main/kotlin/dev/inmo/plagubot/Plugin.kt
Normal file
@ -0,0 +1,3 @@
|
||||
package dev.inmo.plagubot
|
||||
|
||||
interface Plugin
|
Loading…
Reference in New Issue
Block a user