Commit 9b3f28e1 authored by nanahira's avatar nanahira

logging

parent eda497d0
...@@ -22,7 +22,9 @@ export class MyPlugin { ...@@ -22,7 +22,9 @@ export class MyPlugin {
private async onQuit(session: Session) { private async onQuit(session: Session) {
this.ctx this.ctx
.logger('dispose') .logger('dispose')
.info(`Got dispose in ${session.guildId} by ${session.userId}`); .info(
`Got dispose from ${session.selfId} in ${session.guildId} by ${session.userId}`,
);
if (!session.guildId) { if (!session.guildId) {
return; return;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment