Added package
This commit is contained in:
parent
47cec1d12b
commit
c54efcf071
2 changed files with 6 additions and 1 deletions
|
@ -1,12 +1,15 @@
|
||||||
|
package org.congressodeiradicali.karlmarx
|
||||||
|
|
||||||
import cats.instances.future._
|
import cats.instances.future._
|
||||||
import cats.syntax.functor._
|
import cats.syntax.functor._
|
||||||
import com.bot4s.telegram.api.RequestHandler
|
import com.bot4s.telegram.api.RequestHandler
|
||||||
import com.bot4s.telegram.api.declarative.Commands
|
import com.bot4s.telegram.api.declarative.Commands
|
||||||
import com.bot4s.telegram.clients.ScalajHttpClient
|
import com.bot4s.telegram.clients.ScalajHttpClient
|
||||||
import com.bot4s.telegram.future.{Polling, TelegramBot}
|
import com.bot4s.telegram.future.{Polling, TelegramBot}
|
||||||
import scala.concurrent.Future
|
|
||||||
import slogging.{LogLevel, LoggerConfig, PrintLoggerFactory}
|
import slogging.{LogLevel, LoggerConfig, PrintLoggerFactory}
|
||||||
|
|
||||||
|
import scala.concurrent.Future
|
||||||
|
|
||||||
class Bot(val token: String) extends TelegramBot
|
class Bot(val token: String) extends TelegramBot
|
||||||
with Polling
|
with Polling
|
||||||
with Commands[Future] {
|
with Commands[Future] {
|
|
@ -1,3 +1,5 @@
|
||||||
|
package org.congressodeiradicali.karlmarx
|
||||||
|
|
||||||
import scala.concurrent.Await
|
import scala.concurrent.Await
|
||||||
import scala.concurrent.duration.Duration
|
import scala.concurrent.duration.Duration
|
||||||
|
|
Loading…
Reference in a new issue