mirror of
https://github.com/dalbodeule/chibot-chzzk-bot.git
synced 2025-08-07 12:51:13 +00:00
Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
779604d21e | ||
|
83791fe59b |
@@ -1,3 +1,3 @@
|
||||
# maybe_chzzk_bot_kotlin
|
||||
|
||||
[discord](https://discord.gg/up8ANZegmy)
|
||||
[](https://discord.gg/up8ANZegmy) [](https://teamcity.mori.space/project/NabotChzzkBot)
|
@@ -118,7 +118,6 @@ fun getFollowDate(chatID: String, userId: String) : IData<IFollowContent> {
|
||||
try {
|
||||
if(!response.isSuccessful) throw IOException("Unexpected code ${response.code}")
|
||||
val body = response.body?.string()
|
||||
println(body)
|
||||
val follow = gson.fromJson(body, object: TypeToken<IData<IFollowContent>>() {})
|
||||
|
||||
return follow
|
||||
|
@@ -81,8 +81,6 @@ object CounterService {
|
||||
(DailyCounters.name eq name) and (DailyCounters.userId eq userId) and (DailyCounters.user eq user.id)
|
||||
}.singleOrNull()
|
||||
|
||||
println("$counter")
|
||||
|
||||
if(counter == null) {
|
||||
val newCounter = DailyCounter.new {
|
||||
this.name = name
|
||||
|
Reference in New Issue
Block a user