it('should not throw error when user is a bot', async () => {
            const user = {
                active: true,
                type: 'bot',
            };