|
@@ -1,12 +1,15 @@
|
|
|
+package org.congressodeiradicali.karlmarx
|
|
|
+
|
|
|
import cats.instances.future._
|
|
|
import cats.syntax.functor._
|
|
|
import com.bot4s.telegram.api.RequestHandler
|
|
|
import com.bot4s.telegram.api.declarative.Commands
|
|
|
import com.bot4s.telegram.clients.ScalajHttpClient
|
|
|
import com.bot4s.telegram.future.{Polling, TelegramBot}
|
|
|
-import scala.concurrent.Future
|
|
|
import slogging.{LogLevel, LoggerConfig, PrintLoggerFactory}
|
|
|
|
|
|
+import scala.concurrent.Future
|
|
|
+
|
|
|
class Bot(val token: String) extends TelegramBot
|
|
|
with Polling
|
|
|
with Commands[Future] {
|