feat: show session ID in dashboard status display
Add session label (last 8 chars) next to each group status. Export buildStatusContent and DashboardOptions for testing.
This commit is contained in:
@@ -238,7 +238,9 @@ describe('handleSessionCommand', () => {
|
||||
isAdminSender: vi.fn().mockReturnValue(true),
|
||||
});
|
||||
const result = await handleSessionCommand({
|
||||
missedMessages: [makeMsg('/clear', { is_from_me: false, sender: 'discord-user-1' })],
|
||||
missedMessages: [
|
||||
makeMsg('/clear', { is_from_me: false, sender: 'discord-user-1' }),
|
||||
],
|
||||
isMainGroup: false,
|
||||
groupName: 'test',
|
||||
triggerPattern: trigger,
|
||||
|
||||
Reference in New Issue
Block a user