start to fix some things

This commit is contained in:
InsanusMokrassar 2020-11-08 19:23:01 +06:00
parent 4dbf526af7
commit 3f46ed032c
6 changed files with 20 additions and 3 deletions

View File

@ -15,6 +15,9 @@ plugins {
id 'application' id 'application'
} }
project.group="dev.inmo"
project.version="$version"
repositories { repositories {
jcenter() jcenter()
mavenCentral() mavenCentral()
@ -29,5 +32,5 @@ dependencies {
} }
application { application {
mainClassName = 'telegram_bot.AppKt' mainClassName = 'dev.inmo.plagubot.AppKt'
} }

View File

@ -8,3 +8,5 @@ kotlin_version=1.4.10
kotlin_coroutines_version=1.4.1 kotlin_coroutines_version=1.4.1
kotlin_serialisation_runtime_version=1.0.1 kotlin_serialisation_runtime_version=1.0.1
tgbotapi_version=0.30.0 tgbotapi_version=0.30.0
version=0.0.1

View File

@ -1 +1 @@
rootProject.name = 'telegram_bot' rootProject.name = 'plagubot'

View File

@ -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.bot.getMe
import dev.inmo.tgbotapi.extensions.api.telegramBot import dev.inmo.tgbotapi.extensions.api.telegramBot

View 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>
)

View File

@ -0,0 +1,3 @@
package dev.inmo.plagubot
interface Plugin