Commit 9b3f28e1 authored by nanahira's avatar nanahira

logging

parent eda497d0
......@@ -22,7 +22,9 @@ export class MyPlugin {
private async onQuit(session: Session) {
this.ctx
.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) {
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