mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-14 12:40:10 +08:00
Update RunNoticeRecorder
This commit is contained in:
parent
f97feb32c4
commit
9df7c4bda4
@ -13,7 +13,7 @@
|
||||
<module name="mirai.mirai-core.jvmTest"/>
|
||||
<shortenClasspath name="NONE"/>
|
||||
<option name="VM_PARAMETERS"
|
||||
value="-Dmirai.debug.network.state.observer.logging=true -Dmirai.debug.network.show.all.components=true -Dkotlinx.coroutines.debug=on -Dmirai.debug.network.show.packet.details=true"/>
|
||||
value="-Dmirai.debug.network.show.all.components=true -Dkotlinx.coroutines.debug=on -Dmirai.debug.network.show.packet.details=true -Dmirai.network.notice.unconsumed.logging=true -Dmirai.network.packet.logger=true"/>
|
||||
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$/test/run"/>
|
||||
<method v="2">
|
||||
<option name="Make" enabled="true"/>
|
||||
|
@ -41,7 +41,7 @@ suspend fun main() {
|
||||
val bot = BotFactory.newBot(account.id, account.password) {
|
||||
enableContactCache()
|
||||
fileBasedDeviceInfo("local.device.json")
|
||||
protocol = BotConfiguration.MiraiProtocol.ANDROID_PHONE
|
||||
protocol = BotConfiguration.MiraiProtocol.ANDROID_PAD
|
||||
}.asQQAndroidBot()
|
||||
|
||||
bot.components[NoticeProcessorPipeline].registerProcessor(RecordingNoticeProcessor())
|
||||
|
Loading…
Reference in New Issue
Block a user